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 / umesh

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 1 No

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

Answer / kiran

A static member cannot be marked as override, virtual, or
abstract

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Is object an int c#?

0 Answers  


Explain the difference between proc. Sent by val and by sub?

0 Answers  


Are attributes inherited c#?

0 Answers  


Which of the following operations can you not perform on an ado.net dataset?

0 Answers  


Is post back in c#?

0 Answers  


How u call destructor and dispose methode in c#.NET

1 Answers  


Does c# supports destructors?

9 Answers   Choice Solutions,


Why delegates are type safe in c#?

0 Answers  


what are the advantages of c# over vb.net?

10 Answers   Choice Solutions, HCL, Practical Viva Questions,


What is string in c# net?

0 Answers  


What is a event in c#?

0 Answers  


What is the difference between // comments, /* */ comments and /// comments?

0 Answers  


Categories