Initial commit for C#

Rewrite the whole programm in C#