add microsoft csharp sample code