Initial csharp code