从应用程序的外部,是否有任何区别
... Environment.Exit(2)
和
static int Main() { ... return 2; }
?
.net exit-code
.net ×1
exit-code ×1