string[] job = new string[]{"经理","项目主管","技术总监","财务主管"};
for (int i = 0; i < job.Length; i++)
{
Console.WriteLine(job[i]);//打印职位
}
}
for (int i = 0; i < job.Length; i++)
{
Console.WriteLine(job[i]);//打印职位
}
}
2016-09-05
//声明“职位”数组,初始化为:"经理","项目主管","技术总监","财务主管"
string[] job =new string{"经理","项目主管","技术总监","财务主管"};
for (int i = 0; i < job.Length ; i++)
哪里错了???真不服
string[] job =new string{"经理","项目主管","技术总监","财务主管"};
for (int i = 0; i < job.Length ; i++)
哪里错了???真不服
2016-09-05
case"局长": Console.Write("发双黄月饼"); break;
case"处长": Console.Write("发蛋黄月饼"); break;
case"科长": Console.Write("发枣泥月饼"); break;
defualt: Console.Write("发五仁月饼"); break;
为什么还是不对,求高手指点
case"处长": Console.Write("发蛋黄月饼"); break;
case"科长": Console.Write("发枣泥月饼"); break;
defualt: Console.Write("发五仁月饼"); break;
为什么还是不对,求高手指点
2016-09-04