Gain an understanding of interfaces and generics in C#, learn how to implement them, and find out how to resolve conflicts between interfaces.
Overview
Syllabus
Introduction
- Learning C#: Interfaces and generics
- What you should know
- Setting up the environment
- What are interfaces?
- What are generics?
- Understanding C# interfaces
- Defining and implementing an interface
- Interfaces and casting
- Implementing multiple interfaces
- Using explicit interface implementation
- Using .NET-defined interfaces
- Challenge: Programming C# interfaces
- Solution: Programming C# interfaces
- The benefits of generics
- Generic list collections
- Queue and stack
- Dictionary
- Challenge: Programming C# generics
- Solution: Programming C# generics
- Next steps
Taught by
Robby Millsap