private void Calc()
{
for (int i = 0; i < 3; i++)
{
int PersonMaxScore = GetPersonMaxScore(i);
}
}
/// <summary>
/// 获取个人的最高成绩
/// </summary>
/// <param name="person"></param>
/// <returns></returns>
private int GetPersonMaxScore(int person)
{
int max=math[person,0];
for (int j = 1; j < 5; j++)
{
if (math[person, j] > max)
{
max = math[person, j];
}
}
return max;
}