Update Main.cs

Issue #152