Removed Main() and fixed the convert methods

In C# you need to put the type before a new var, even paramaters and methods