Can you declare the override method static while the
original method is non-static?

Answers were Sorted based on User's Feedback



Can you declare the override method static while the original method is non-static?..

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 ?    6 Yes 0 No

Can you declare the override method static while the original method is non-static?..

Answer / sanjay

No!!!

Is This Answer Correct ?    0 Yes 0 No

Can you declare the override method static while the original method is non-static?..

Answer / mahesh babu ummaneni

when we use virtual key word for method in base class the same thing is used under the derived class just we can change the virtual to override

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are the benefits of using the aggregate method in linq?

0 Answers  


What is uint c#?

0 Answers  


What is semaphore in c#?

0 Answers  


What is c# entity framework?

0 Answers  


What is ildasm and obfuscator in net?

0 Answers  






Is there regular expression (regex) support available to c# developers?

0 Answers  


Why do we use inheritance in c#?

0 Answers  


What is a static in c#?

0 Answers  


Explain About CLS?

0 Answers   Microsoft,


What is escape sequence in c#?

0 Answers  


Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


Why do we need reflection in c#?

0 Answers  


Categories