/CSharpGenerics

Some samples using C# generics for a Pluralsight course.

Primary LanguageC#MIT LicenseMIT

Pluralsight C# Generics: Best Practices Samples

Sample code for the Pluralsight C# Generics: Best Practices course by Steve "ardalis" Smith.

Give a Star! ⭐

If you like or are using this project to learn, please give it a star. Thanks!

Course Details

The C# Generics: Best Practices course covers the following topics:

  • Working with Generic Interfaces and Constraints
  • Understanding Covariance and Contravariance
  • Using Reflection with Generic Types
  • Implementing Generic Classes (and sub/super classes)
  • Implementing Generic Methods
  • When to use Generic Classes vs. Generic Methods
  • Raising and Handling Generic Events
  • Working with Generic Delegates
  • Understanding Predicate<T>
  • Understanding Action<T>
  • Understanding Func<T>

Need Help?

If you have specific questions about the course, ask them in the course discussion tab on Pluralsight.

If you find a bug in the samples, post an issue here.

If you need training for your team, contact Steve via NimblePros.com.

If you'd like to join Steve's group mentoring program to accelerate software developer careers, check out devBetter.