C# main函数的返回值 - 译

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:在_之后,接着,之后

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值