public static string[] ReadLines()
{
int totalItems = GetLineCount();
string[] itemDetails = new string[totalItems];
StreamReader sr = new StreamReader(FileLocation.INPUT_FILE);
string itemDetail;
int counter = 0;
while (!sr.EndOfStream){
itemDetail = sr.ReadLine();
if (itemDetail.Trim() != "")
itemDetails[counter++] = itemDetail;
}
sr.Close();
return itemDetails;
Attachment: help.zip