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

No, you cannot, the signature of the virtual method must remain the same, only the keyword virtual is changed to keyword override.

Showing Answers 1 - 3 of 3 Answers

Rajesh Ravindran

  • Sep 11th, 2007
 

No, Because the Overrirde method or Overriden method should have same access attribute, same return type, same argument etc. If it is not same it will throw compiler error.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions