Home > DeveloperSection > Interviews > Can you declare the override method static while the original method is non-static?

Posted on    April-23-2011 3:27 AM

 OOPS OOPS 
Ratings:
 1 Answer(s)
  1688  View(s)
Rate this:

Pooja Malohtra
Pooja Malohtra

Total Post:36

Points:180
Posted on    April-23-2011 12:00 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick