下面的代碼哪里錯了
using System;
using System.Collections.Generic;
using System.Text;
namespace projGetMaxScore
{
??? class Program
??? {
??????? static void Main(string[] args)
??????? {string[,]ch= new string[,]={{吳松,89},{錢東宇,90},{伏晨,98},{陳陸,56},{周蕊,60},{林日鵬,91},{何昆,93},{關(guān)欣,85}};
???????? int max = Convert.ToInt32(ch[1, 0]);?????
?????????? for(int i=0;i<ch.LongLength;i++)
?????????? {
?????????????? if(max< Convert.ToInt32(ch[i,1]))
?????????????? {
?????????????????? max=Convert.ToInt32(ch[i,1];
?????????????? }
?????????? Console.Write("分數(shù)最高的是"+"ch[i,0]"+",");
??????????? Console.Write("分數(shù)是"+ch[i,1]);
?????????? }
??????? }
??? }
}
2016-10-15
"ch[i,0]"去掉雙引號