C# Generics – Part 5: Generic Constraints & “default”

In this video

Let the compiler work for you. Generics give us flexibility and reuse in our classes, methods, and interfaces. This time, we’ll explore Generics Constraints and the “default” keyword. Constraints allow us to place conditions on what types can be used as generic parameters. For code samples and a PDF Walkthrough, visit http://www.jeremybytes.com/Demos.aspx.

(Visited 96 times, 1 visits today)

You might be interested in