problem in storeing highscore in xna gaming...:(
public void gethighscxore() { Boolean boolwork = true; fileread = new FileStream(filename, FileMode.OpenOrCreate, FileAccess.Read); scoreread = new StreamReader(fileread); for (int i = 0; i < maxhscore; i ) { texthscore1[i] = scoreread.ReadLine(); if (texthscore1[i] == null) { texthscore1[i] = "0"; } } scoreread.Close(); fileread.Close(); if (boolwork) { int j = 0; for (int i = 0; i < maxhscore; i ) { if (plane_.score > Convert.ToInt32(texthscore1[i])