C# examples and testing