Putting an array into streamwriter?

I’ve been trying for the last week to get an array into streamwriter for the last week for my high-score system, but I still cannot get it working.

Already asked on answers here, How to put Streamwriter into an array? - Questions & Answers - Unity Discussions but I keeo getting so confused that it is turning into a discussion.
So what I would to do is have system of five scores, within an array in a text doc that i can call up and read into a highscore board
( Gui.box + Gui.Textfield’s). I also would like to sort them by highest score but for now I will settle for getting an array within streamwriter.

Please Help.

Also I have looked at Playerprefs but would prefer streamwriter so I can easily transfer It between multiple computers.

Current Code:

import System.IO;

function Update () {

    // Create an instance of StreamWriter to write text to a file.

    sw = new StreamWriter("HighScore.txt");

    // Add some text to the file.

    sw.Write(GuiDraw.currentScore);
 

    sw.Close();

}

The file “HighScore.txt” is constantly erased and created in every frame as the update function is called every frame. Consider testing it by binding the functionality to keyboard event or something…

This is because the score is getting updated quite frequently. Though I don’t see what that has to do with my question.