最新回答 / 人生白月
Console.WriteLine(x)与continue不能用在那里的,会发生冲突的。for (int i = 1; i <= 9;i++ ) { int y = i == 3 || i == 8 ? 1 : 2; Console.WriteLine(y); } Console.ReadKey();
2018-10-01
string[,] scare = new string[,] { { "吴淞", "89" }, { "钱东宇", "90" }, { "伏晨", "98" },{ "郑帅", "88" } };
int max = 0;
string name = "";
for (int i = 0; i < scare.GetLength(0);i++)
{
if (int.Parse(scare[i,1])>max)
{
int max = 0;
string name = "";
for (int i = 0; i < scare.GetLength(0);i++)
{
if (int.Parse(scare[i,1])>max)
{