Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Using Generics in C#

via LinkedIn Learning

Overview

Gain an understanding of interfaces and generics in C#, learn how to implement them, and find out how to resolve conflicts between interfaces.

Syllabus

Introduction
  • Learning C#: Interfaces and generics
  • What you should know
  • Setting up the environment
1. Overview
  • What are interfaces?
  • What are generics?
2. C# Interfaces
  • 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
3. C# Generics
  • The benefits of generics
  • Generic list collections
  • Queue and stack
  • Dictionary
  • Challenge: Programming C# generics
  • Solution: Programming C# generics
Conclusion
  • Next steps

Taught by

Robby Millsap

Reviews

4.7 rating at LinkedIn Learning based on 232 ratings

Start your review of Using Generics in C#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.