Added CSharp sample and helper features