J
Janos
Hi,
I am a newbie, learning C#. I try to map the concepts I have learned
earlier in other OO languages to the concepts used here in C# .
In Smalltalk you have class variable, which is here the static one,
existing only once, and the same for all instances of the class and
its sublasses.
But there you have also class instance variable, and the difference is
that the subclasses can override it. AFter that all the subclasses'
instances will use the overridden one, but the instances of the base
(super in Smalltalk) remains untouched.
Do we have here something similar as the class instance variable?
Thank you,
Janos
I am a newbie, learning C#. I try to map the concepts I have learned
earlier in other OO languages to the concepts used here in C# .
In Smalltalk you have class variable, which is here the static one,
existing only once, and the same for all instances of the class and
its sublasses.
But there you have also class instance variable, and the difference is
that the subclasses can override it. AFter that all the subclasses'
instances will use the overridden one, but the instances of the base
(super in Smalltalk) remains untouched.
Do we have here something similar as the class instance variable?
Thank you,
Janos