Can you declare the override method static while the
original method is non-static?
Answers were Sorted based on User's Feedback
Answer / guest
No, you can?t, the signature of the virtual method must
remain the same, only the keyword virtual is changed to
keyword override.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / kishore.a
To override an method we need to explicitly mention
override keyword in the child class and virtual or abstract
keyword in base class.
Here in this case neither of the keywords are used.Hence it
is not possible..
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ashish gupta
I don think so...
even static members can not be marked as a virtual,abstract
or override.
Is This Answer Correct ? | 5 Yes | 0 No |
If a class is a ref type, how we can pass to a function.
Can main method be final?
What is the difference between writeline and write in c#?
What is assembly c#?
What is the base class in .net from which all the classes are derived from?
How does dictionary work in c#?
What is use of list in c#?
What?s a multicast delegate?
What is type keyword in c#?
What is difference between abstraction and encapsulation in c#?
Can you inherit multiple interfaces?
what is CLONE() method?