https://docs.microsoft.com/zh-cn/dotnet/csharp/programming-guide/main-and-command-args/main-return-values
return values
返回值
The Main method can return void,
Main方法可以返回void,
It can also return an int,
也可以返回int,
return value from Main
Main 的返回值
slightly
d:稍,稍微
slightly simpler code
稍微简单的代码
invoke the executable file
调用可执行文件
programs or scripts
程序或脚本
to communicate status information to other programs or scripts
传递状态信息给其它程序或脚本
is treated as
视为
the exit code for the process
进程的退出代码
the exit code will be implicitly 0
退出代码隐式为0
is stored in an environment variable
存储在环境变量中
batch file
批处理文件
build the application
构建应用程序
to run the application and display the result
运行应用程序并显示结果
typing test.ps1 at the PowerShell prompt
在 PowerShell 提示符下键入 test.ps1
text file
文本文件
the code returns zero
代码返回0
report success
报告成功
return a non-zero value
返回非零值
recompile the program
重新编译程序
subsequent execution of the PowerShell script will report failure
PowerShell 脚本的后续执行将报告失败
subsequent to
p:在_之后,接着,之后