Gets or sets the exit code of a process.
Value: 0
A int value returned by a process. The default value is zero.
When a process exits, if the process does not return a value, the value of Environment.ExitCode is returned. If the value of this property is not set by an application, zero is returned.
On operating systems that do not support process exit codes, CLI implementations are required to fully support getting and setting values for this property.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0