From outside of the application, is there any difference between
... Environment.Exit(2)
and
static int Main() { ... re
Environment.Exit(2) can be used everywhere. return 2 only within the Main() function.
Environment.Exit(2)
return 2
Main()