日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程语言 > C# >内容正文

C#

C# main函数的返回值 - 译

發(fā)布時間:2025/4/14 C# 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 C# main函数的返回值 - 译 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

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
調(diào)用可執(zhí)行文件

programs or scripts
程序或腳本

to communicate status information to other programs or scripts
傳遞狀態(tài)信息給其它程序或腳本

is treated as
視為

the exit code for the process
進程的退出代碼

the exit code will be implicitly 0
退出代碼隱式為0

is stored in an environment variable
存儲在環(huán)境變量中

batch file
批處理文件

build the application
構(gòu)建應(yīng)用程序

to run the application and display the result
運行應(yīng)用程序并顯示結(jié)果

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 腳本的后續(xù)執(zhí)行將報告失敗

subsequent to
p:在_之后,接著,之后

總結(jié)

以上是生活随笔為你收集整理的C# main函数的返回值 - 译的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。