add csharp sample

Add C# sample code