C# implementation

Github link to a C# implementation
Merge pull request #58 from NicolasDorier/patch-1

C# implementation