Chapter 12

Interfaces

Key Skills & Concepts

Image   Interface Syntax

Image   Interface Hierarchies

Image   Generic Interfaces

Image   Existing .NET Interfaces

 

Interfaces declare public data members and methods that must be implemented in a class or struct. Interfaces are similar to abstract classes since interfaces also do not permit a base implementation. So why bother ...

Get C#: A Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.