Dotnet Interview Questions And Answer
Sunday, January 20, 2013
Can you declare an override method as static if the original method is not static?
No, you can not do that. There are two reason for that.
Signature of the method in base class and derive class should be the same.
A static member cannot be marked as override, virtual or abstract.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment