Home  |  Contact us    
Features of Interface in C#


Explain some features of interface in C#.

Comparison of interface with class (interface vs class):
  • An interface cannot inherit from a class.
  • An interface can inherit from multiple interfaces.
  • A class can inherit from multiple interfaces, but only one class.
  • Interface members must be methods, properties, events, or indexers.


  • All interface members must have public access (the default).
  • By convention, an interface name should begin with an uppercase I.


Category: OOPS Faqs Concepts Faqs, Interview Questions & Answers in C#



Ask New Questions
Microsoft.Net Framework
.Net 2.0 Namespaces
.Net Assemblies
OOPS Faqs in C#
ASP.Net Faqs
ASP.Net 2.0 Faqs
Web Services Faqs
ADO.Net Faqs
Database Faqs
OOPS Faqs
IT Project Management