using System;
class ExitTest
{
public static void Main( )
{
String[ ] args = Environment.GetCommandLineArgs( );
if( args.Length > 1 )
{
try
{
int exitCode = int.Parse( args[1] );
Console.WriteLine( "it exits with code: 0x{0:X8}.", exitCode );
Environment.Exit( exitCode );
}catch{ }
}
}
}