IndexOutOfRangeException: Array index is out of range.

using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;

public class HighScores : MonoBehaviour {

const string privateCode = "Don't Show" ;
const string publicCode = "Don't Show" ;
const string WebURL = "http://dreamlo.com/lb/";

public HighScore [] highscorelist;
public GameObject Records;
void Awake()
{
	DownloadHighScore ();

}

public void AddNewHighScore (string UserName , int score)
{
	StartCoroutine (UploadNewHighScore(UserName,score));
}

IEnumerator UploadNewHighScore (string UserName , int score)
{
	WWW WWW = new WWW (WebURL + privateCode + "/add/" + WWW.EscapeURL (UserName) + "/" + score);
	yield return WWW;

	if (string.IsNullOrEmpty (WWW.error))
		print ("Upload Successful");
	else
	{
		print ("Error Uploading " + WWW.error);
	}
}

public void DownloadHighScore()
{
	StartCoroutine ("DownloadHighScoreData");
}

IEnumerator DownloadHighScoreData ()
{
	WWW WWW = new WWW (WebURL + publicCode + "/quote/" );
	yield return WWW;

	if (string.IsNullOrEmpty (WWW.error))
		FormatHighscores(WWW.text);
	else
	{
		print ("Error Downloading" + WWW.error);
	}



}

public void FormatHighscores (string textStream)
{
	string [] entries = textStream.Split(new char []{'

'},System.StringSplitOptions.RemoveEmptyEntries);
highscorelist = new HighScore [entries.Length];

	for (int i = 0; i < entries.Length; i++)
	{
		string[] entryInfo = entries *.Split (new char [] { '|' });*
  •   	string username = entryInfo [0];*
    
  •   	int score = int.Parse (entryInfo [1]); //<==== line error here*
    

_ highscorelist = new HighScore (username, score);_
print (highscorelist .username + ": " + highscorelist .score);
* }*
* }*
* void Update()*
* {*
* Records.GetComponent ().text = displaytext;*
* }*
}
public class HighScore
{
* public string username;*
* public int score;*
* public HighScore (string username , int score)*
* {*

* username = username;
score = score;*
* }*

}

index out of range means somewhere in your code you are are trying to access a number in an array that is higher than it’s length. for example if you have an array with a length of 5 and your code asks for somearray[10]; it makes an error and your code does wierd stuff!