Sample C# code