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

Answer Posted / parmjit

No, we cannot derive static class from a user defined
class. They can only be derived from object class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?

525


Can we have only “try” block without “catch” block in c#?

477


What Is A Multicast Delegate?

547


What is dto c#?

484


Why we use delegates in c#?

501






Are structs value types or reference types?

571


Are tuples immutable c#?

508


What do you understand by the terms datareader object and dataset object?

530


What is the default value of guid in c#?

474


What is generic in c#?

461


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

553


What is the difference between “out” and “ref” parameters in c#?

512


What does exclamation mark mean c#?

537


What is the use of partial methods?

578


Why hashtable is thread safe in c#?

497