Interview Questions

Can you declare an override method to be static if the original method is not static?

C# Interview Questions and Answers


(Continued from previous question...)

179. Can you declare an override method to be static if the original method is not static?

No. The signature of the virtual method must remain the same. (Note: Only the keyword virtual is changed to keyword override)


(Continued on next question...)

Other Interview Questions