Enum validity with IsDefined
Check the validity of an enum with with the IsDefined method
Evolution of multi case switch statements
Various ways of handling multiple case switch expressions in C#
Lazy loading objects with Lazy<>
Defer the loading of large objects until require with Lazy<>
Customize debugger class display
Customize how classes are displayed when debugger