代码哪里错了
{
string[] name=new string[]{"吴松","钱东宇","伏晨","陈陆","周蕊","林日鹏","何昂","吴欣"};
int[] score=new int[]{29,90,98,56,60,91,93,85};
int max=score[0];
char maxname=name[0];
for(int i;i<score.Length;i++)
{
if(max<score[i])
max=scoe[i];
maxname=name[i];
}
Console.WriteLine("分数最高的是"+maxname+",分数是"+max);
}