So To use Environment.Exit() you would put the number to indicate what exit code you want 0 would mean your code was valid any other exit code means there was an error