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

Answer Posted / 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 ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c# support c type macros?

553


What is the difference between selection and projection?

437


What are satellite assemblies?

556


So what makes your code really object-oriented #?

522


Explain About .NET Remoting and types of remoting

573






How can we set class to be inherited, but prevent the method from being over-ridden?

531


What are the 3 elements of delegation?

489


What is gui in c#?

540


Does c# support try-catch-finally blocks?

474


Do we get an error while executing the “finally” block in c#?

505


What is executenonquery c#?

461


Why do we use yield in c#?

500


What is yield in c#?

495


Explain About web methods and its various attributes

508


What are "class access modifiers" in C#?

536