string[] array;
array = new string[10];
ArrayList txt_array = new ArrayList();
StreamReader reader = new StreamReader("data.txt");
string line = string.Empty;
int i = 0; // index
while ((line = reader.ReadLine()) != null)
{
txt_array.Add[line];
}
reader.Close();