Flags attribute for enums
Using the Flags attribute to treat an enum as a set of flags
Visual Studio Code snippets
Having a look at some of the code snippets shipped with Visual Studio
Creating temporary files in .NET
Exploring the built-in temporary file creator
Anonymous type property name inference
How anonymous types can infer property names from variable names