Simple play icon Course
Skills

Working with C# 9 Generics: Best Practices

by Steve Smith

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.

About the author

Steve Smith (@ardalis) is an entrepreneur and software developer with a passion for building quality software as effectively as possible. He provides mentoring and training workshops for teams with the desire to improve. Steve has been recognized as a Microsoft MVP for over 10 consecutive years, and is a frequent speaker at software developer conferences and events. He is the top contributor to the official documentation on ASP.NET Core and enjoys helpings others write maintainable, testable app... more

Ready to upskill? Get started