C# code snippets.