Thursday, October 2, 2014

New Video: Generic Constraints & "default"

I know it's been a while, but Part 5 of the C# Generics series is now available: C# Generics - Generic Constraints & "default". This time, we take a look at the various constraints that we can add to generic type parameters. This gives us added functionality while still maintaining the flexibility and re-use that generics provide us. In addition, we also look at the "default" keyword. This lets us assign a proper default to a variable regardless of whether it is a reference type or a value type.

This completes the series, so you can learn quite a bit about C# Generics in about an hour and a half.

C# Generics (playlist)
Happy Coding!

No comments:

Post a Comment