vs
上面輸出代碼是正確的,可是在這里就無法正確!
string[] job = new string[4];
job[0] = "經理";
job[1] = "項目主管";
job[2] = "技術總監";
job[3] = "職員";
for (int i = 0; i < job.Length; i++)
{
Console.WriteLine(job[i]);
上面輸出代碼是正確的,可是在這里就無法正確!
string[] job = new string[4];
job[0] = "經理";
job[1] = "項目主管";
job[2] = "技術總監";
job[3] = "職員";
for (int i = 0; i < job.Length; i++)
{
Console.WriteLine(job[i]);
2016-02-29
static void Main(string[] args)
{
int x=1;
bool a = ++x * x > 3;
bool b =true ;//請賦值
Console.WriteLine(a==b);
}
}
}
{
int x=1;
bool a = ++x * x > 3;
bool b =true ;//請賦值
Console.WriteLine(a==b);
}
}
}
2016-02-28
Console.WriteLine(NAME+"出生在"+CITY+"的一個工人家庭");//使用常量 “+”是神馬意思