public static string [,] ReadCSV (string filePath) {
string csvAsString = FileUtil.FileText(filePath);
string[] byLine = csvAsString.Split('\n');
int columns = GetMaxRowLength(byLine);
int rows = byLine.Length;
string[,] byCell = new string[columns, rows];
for (int x = 0; x < columns; x++) {
for (int y = 0; y < rows; y++) {
byCell[x, y] = byLine[y].Split(',')[x];
}
}
return byCell;
}