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

Answer Posted / kishore.a

To override an method we need to explicitly mention
override keyword in the child class and virtual or abstract
keyword in base class.

Here in this case neither of the keywords are used.Hence it
is not possible..

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static class in C#?

650


What are the different types of constructors?

582


Can you create partial delegates and enumerations?

672


What is an enumerator in c#?

612


What are the basics of c#?

634






What does int parse do in c#?

572


How many types of collections are there in c#?

568


What is a clr host?

634


What is the max value of int32 in c#?

573


What is difference between method overriding and method overloading?

619


Why we use extension methods in c#?

548


How to force my .net app to run as administrator on windows 7?

593


What is asp net c#?

584


Why ienumerable is used in c#?

536


How to generate strong name key file or which command is used to generated strong name key file?

604