C# exits through the Main() method.

Use 'return' to exit any method, eventually returning to Main() and 
'return' the program from Main()

cp

YyYo wrote:
> Hi...
> 
> 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()
> 
> many thanks....
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to