I am trying to find the biggest number in that struct array with this code:
max=0;
for (i = 1; i <= team.Length; i++)
{
if (team[i].Point > team[max].Point)
{
max = i;
}
It gives me an error that it System.OutOfRangeException
. Please help.