English
Topic 10. Abstract classes and interfaces
Goal: become familiar with abstract classes and interfaces in C#; learn to declare abstract members, implement the template method, and declare and implement interfaces, including explicitly; master the standard .NET interfaces IComparable<T>, IComparer<T>, and IDisposable with the using statement.
Lecture contents
- Abstraction and abstract classes — Abstraction · Abstract classes
- Interfaces — Interfaces
- Standard interfaces and choosing an approach — Standard .NET interfaces · Abstract class or interface
- Examples and common mistakes — Example programs · Common mistakes