>> I am new to mono and C#. >> I am writing a simple program, and question: is there a command to exit >> from the execution. >> like in python: sys.exit() >> or perl: exit() System.Environment.Exit(0); will do the trick ;) http://msdn.microsoft.com/en-us/library/system.environment.exit(VS.80).aspx Hope that helps. Dan