|
-
February 24th, 2006, 02:55 AM
#10
Re: Singleton Pattern problem (inheritance)
I think it is because classes in C# are not true objects unlike e.g. in Smalltalk. Instance of Type is just a structure describind the class, not the class itself. (See that you have to use Activator if you want create instance of a Type at runtime).
It will be difficult and confusing to have same semantic for methods of objects and something else. In other words, it is by C# design. It is nothing which would be ordered by OOP paradigm. But from my practice I can see, that this is not important limitation.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|