?? listarg0.cs
字號:
using System;
class listArg0
{
public static void Main(String[] args)
{
string strName; //聲明一個string類型的值變量
strName = args[0]; //把第一個參數賦給變量strName
Console.WriteLine("This is the first argument: {0}!", strName); //格式化輸出第一個參數
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -