public static void readTestFile(DelimitedFile df) { df.readFile(); Console.WriteLine("Headers" + "\n"); String[] headers = df.headersInOrder(); Console.WriteLine( getHeaders(headers, df.delimiter) ); /* for(int i = 0; i < headers.Length; ++i) { String s = headers[i]; if(i < headers.Length - 1) Console.WriteLine(s + df.delimiter); else Console.WriteLine(s); } */ /* String[] fileContents = df.fileContentsInOrder(); foreach (String s in fileContents) { Console.WriteLine(s); } */ }