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

Pluralsight

Working with C# Generics: Best Practices

via Pluralsight

Overview

This course will teach you how to
apply C# generics in your applications, including best
practices and potential pitfalls.

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.

Syllabus

  • 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

Taught by

Steve Smith

Reviews

4.4 rating at Pluralsight based on 81 ratings

Start your review of Working with C# Generics: Best Practices

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.