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 / guest

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 0 No

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

Answer / sanjay

No!!!

Is This Answer Correct ?    0 Yes 0 No

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

Answer / mahesh babu ummaneni

when we use virtual key word for method in base class the same thing is used under the derived class just we can change the virtual to override

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is access modifier in c#?

0 Answers  


What are the characteristics of c#?

0 Answers  


How do I know if executenonquery is successful c#?

0 Answers  


what is the diference between casting and converting?

2 Answers  


What are sessions in c#?

0 Answers  






What is integer c#?

0 Answers  


Can you allow class to be inherited, but prevent the method from being over-ridden?

5 Answers  


What do you mean by expression tree?

0 Answers  


What is callback function in c#?

0 Answers  


Do vs while c#?

0 Answers  


Who is a accessibility modifier “protected internal” available to ?

0 Answers   Siebel,


Which control cannot be placed in mdi?

0 Answers  


Categories