Can you inherit multiple interfaces?

Answer Posted / pawanreddy

Nope, You can't inherit from interface, you can only implement it. You can implement multiple interfaces in a single class.
You can only inherit from class, c# won't support multiple inheritance.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should you override the tostring() method?

792


When do we generally use destructors to release resources?

721


What is data types in c#?

728


How do I create a new form in c#?

726


Why is lazy loading?

675


Can we have static indexer in c#?

691


Define c# delegate?

768


What is the execution entry point for a c# console application?

764


What exactly is serverless?

615


What is new method in c#?

701


Explain about finalize method?

740


How do I run a cshtml file?

696


What is the advantage of dependency injection?

746


Why do we need nullable types in c#?

923


Why do we use struct in c#?

742