C# sample