A bunch of C# snippets that I want to re-use