C# sample test code