Can we have a non static member function in a base class to
be override in derived with static modifier?

Answer Posted / kishore.a

We cannot override the non static method with a static
method in derived class.

Because all static members are handled directly by CLR.
Where as non static members are handled by CLR after object
instantiation.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is list array in c#?

644


What is string pool in c#?

753


What is sqladapter c#?

734


What is difference between code access and role based security?

720


Explain About Postback

734


Explain the difference between class and interface in .net?

643


What are the uses of delegates in c#?

786


How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?

803


What is the advantage of extension method in c#?

653


What is expression tree in c#?

686


What is difference between for and foreach loop in c#?

714


What is the difference between finalize() and dispose() methods?

750


What is thread life cycle in c#?

683


Is null empty or whitespace c#?

709


Does hashset allow duplicates c#?

709