E
enantiomer
I have a problem with my class structure.
my base class is abstract and defines an abstract method foo();
my child class extends my abstract class and overrides foo() and
prints out a string from my child class in it. The only problem is,
it isn't printing the string at all, it just shows a blank value. I
know that the string has a value because in a method that is first
defined in my child class, i print it out and it shows up fine. For
some reason, c# run-time engine thinks that the variable being printed
out is being referenced from the base class and doesn't show any value
then. This sounds like static binding to me, but I am not sure.
there is a ton of code and I can put some in if people like, but this
might be something that is very obvious... Any clues? Thanks in
advance,
Jonathan
my base class is abstract and defines an abstract method foo();
my child class extends my abstract class and overrides foo() and
prints out a string from my child class in it. The only problem is,
it isn't printing the string at all, it just shows a blank value. I
know that the string has a value because in a method that is first
defined in my child class, i print it out and it shows up fine. For
some reason, c# run-time engine thinks that the variable being printed
out is being referenced from the base class and doesn't show any value
then. This sounds like static binding to me, but I am not sure.
there is a ton of code and I can put some in if people like, but this
might be something that is very obvious... Any clues? Thanks in
advance,
Jonathan