Working with C# Generics: Best Practices Pluralsight
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
- Working with Generic Interfaces and Constraints
- Understanding Covariance and Contravariance
- Creating Generic Classes and Methods
- Working with Generic Events and Delegates
About the author
Steve Smith Steve Smith (@ardalis) is an entrepreneur and software developer with a passion for building quality software as effectively as possible.