求大佬指导哪里错了,一直没找出来
int[]num=new int[]{89,90,98,56,60,91,93,85};
string[] xingming = new string[] {"吴松","钱东宇","伏晨","陈陆","周蕊","林日鹏","何昆","关欣"};
int max=num[0];
for(int x=1,x < num.Length,x++)
{
if(num[i]>max)
max=num[i];
}
Console.Write(max);
Program.cs(14,26): error CS1525: Unexpected symbol `<', expecting `)', `,', `;', or `=' Program.cs(14,40): error CS1525: Unexpected symbol `++', expecting `)', `,', `;', or `=' Program.cs(18,13): error CS1525: Unexpected symbol `}' Program.cs(18,12): error CS1525: Unexpected symbol `}', expecting `)', `,', `;', or `=' Program.cs(19,26): error CS1519: Unexpected symbol `(' in class, struct, or interface member declaration Program.cs(19,30): error CS1519: Unexpected symbol `)' in class, struct, or interface member declaration Program.cs(23,0): error CS1525: Unexpected symbol `}' Compilation failed: 7 error(s), 0 warnings