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

What does return do in unity?

714


How string definitions will prevent escaping on backslashes in C#?

745


Is var a data type?

734


What does executescalar return in c#?

642


What is a int in c#?

678


What is private readonly in c#?

724


Why do we use static class in c#?

667


Is cli same as the clr?

686


What is keywords in c#?

675


What is option parameter in C#?

735


Does c# have its own class library?

723


Why is dll used?

766


Why abstract class can not be instantiated?

644


Why main is static in c#?

778


Why is c# good for games?

727