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+"的一个工人家庭");//使用常量 “+”是神马意思