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

What are the advantages of clr procedure over t-sql procedure?

0 Answers  


What is the difference between protected and internal in c#?

0 Answers  


What are strong name assemblies?

0 Answers   CitiusTech,


Do while loops yes or no c#?

0 Answers  


What is meant by desktop application?

0 Answers  






Can namespace contain the private class?

0 Answers  


What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to

0 Answers  


Can I use parseint?

0 Answers  


Can you store multiple data types in System.Array?

5 Answers  


How do you read an Excel sheet in C#?

0 Answers   MindCracker,


Does constructor return any value in c#?

0 Answers  


What is the difference between string and string in c#?

0 Answers  


Categories