Mega Code Archive
Categories
/
C#
/
Development Class
Gets or sets the exit code of the process
using System; class Sample { public static void Main() { Console.WriteLine("ExitCode: {0}", Environment.ExitCode); } }