Added sample C# code