My original belief about Environment.Exit was this:
If called from the default AppDomain, the process would terminate.
If called from an AppDomain other than default, the AppDomain would terminate and push the exit code into the return of AppDomain.ExecuteAssembly.
This seemed logical to me, as it would forseeably be undesirable for a loaded AppDomain to unintentionally kill the entire process due to calling Environment.Exit instead of ending at the "}" like the accepted answer of https://stackoverflow.com/questions/3971101/c-sharp-whats-the-best-way-to-end-a-program speaks of.
However the MSDN description of Environment.Exit is as follows:
Terminates this process and gives the underlying operating system the specified exit code.
So this makes me wonder, does Environment.Exit kill the entire process as the MSDN says, or does it work like my original assumption?