[Mono-list] exit in a middle of the program
Chris Plasun
chrispl78 at yahoo.com
Fri May 1 19:03:35 EDT 2009
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....
More information about the Mono-list
mailing list