add csharp sample code