C# (Sharp) Programming Language Question:
Download Questions PDF

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

Answer:

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

Download C# (Sharp) Programming Language Interview Questions And Answers PDF

Previous QuestionNext Question
Can you store multiple data types in System.Array?Does C# support multiple inheritance?