C# Interfaces
Overview
Interfaces define contracts that classes can implement. They specify what a class must do without specifying how it does it.
Interfaces define contracts that classes can implement. They specify what a class must do without specifying how it does it.