private ProductTask[] _readTasks(string path) { TextReader reader = new StreamReader(path, Encoding.Default); var table = CSVService.ReadTable(reader, _parseInt, true); ProductTask[] productTasks = new ProductTask[table.Length]; for (int i = 0; i < table.Length; i++) { var row = table[i]; var times = row.Skip(1).ToArray(); var number = row[0]; productTasks[i] = new ProductTask(number, times); } return(productTasks); }