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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.