关于本小杰的例子
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _20180727
{
class Program
{
static void Main(string[] args)
{
int[,] score = new int[4, 2] { { 89, 96 }, { 69, 40 }, { 78, 96 }, { 100, 89 } };
Console.WriteLine("同学们的分数是:");
for (int i = 0; i < score.GetLongLength(0); i++) ;
{
Console.WriteLine("语文:{0},数学:{1}", score[i, 0], score[i, 1]);
}
}
}
}
为什么会出错呢?求大神解答下