Geeks With Blogs
Information -> Source for Next Generation

Here is good discussion on Static and abstract, Max has given this example in Ericqu comments section on static class blog.

abstract does _not require_ inheritance for a full implementation:

abstract class Foo
static void DoSomething(){}

is totally legal code. 'abstract' only means no instance can be created - at least at the view of the Compiler/Runtime.
But I have to agree that most people think 'abstract' means an incomplete class. So it may be less confusing to introduce a "new" keyword instead.

Posted on Monday, April 19, 2004 7:21 AM C# | Back to top

Comments on this post: Static Class - Abstract does not require inheritence for full implementation.

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Raju | Powered by: