Add C# code

This PR should solve issue #13