Learn5 lessons
C#
Value types against reference types, collections, interfaces and LINQ — the fundamentals behind every .NET job posting.
In this course
- Value types, reference types, and nullWhat actually gets copied when you pass an int against a List, and how a value type opts into null.7 min
- Classes, properties, and interfacesAuto-properties instead of hand-written getters, and what an interface promises that a base class does not.8 min
- Collections and LINQList and Dictionary, and the Where/Select/OrderBy chain that replaces a hand-written loop.8 min
- Exceptions, and catching the type you actually expecttry/catch/finally, catching specific types first, and why swallowing an exception is worse than not catching it.7 min
- Generics and constraintsWriting one method that works for any type, without losing the type back out.7 min