Notes and example code for the C# study group