Imports SystemClass Sample Public Shared Sub Main() Console.WriteLine("ExitCode: {0}", Environment.ExitCode) End Sub 'MainEnd Class 'Sample