Course
Skills
Working with C# 9 Generics: Best Practices
This course will teach you how to apply C# generics in your applications, including best practices and potential pitfalls.
What you'll learn
In this course, Working With C# Generics: Best Practices, you’ll learn to use generics in your own types and classes. First, you’ll explore generic interfaces and constraints. Next, you’ll discover the covariance and contravariance. Finally, you’ll learn how to use generics with events and methods. When you’re finished with this course, you’ll have the skills and knowledge of C# generics needed to level up your .NET apps with cleaner, more reusable code.
Table of contents
Course Overview
1min
Working with Generic Interfaces and Constraints
47mins
Understanding Covariance and Contravariance
45mins
Creating Generic Classes and Methods
32mins
Working with Generic Events and Delegates
33mins