Featured
How to Use Generics with Type Constraints to Handle Collections in C#
Recently, I wanted to use a method for two different concrete classes that shared an interface. The solution? Using a generic method with type constraints.
March 22, 2022