Q: C# csv to jaggedarray (How to return Columns) I have a csv file that I need to capture data from. I have code that I found on stack overflow that returns that csv data in the form of a jagged array, I have never worked with jagged arrays before and I'm having a tough time figuring out how to loop through the data.
My idea is to have a function that returns column data from the array
        public static string[][] retJaggedArray(int row, int column, string file)
        {
            string[][] m_Data = File
                .ReadLines(file)
                .Where(line => !string.IsNullOrWhiteSpace(line))
                .Select(line => line.Split(','))
                .ToArray();

            return m_Data;
        }

string[] data = retJaggedArray(23, 1, file); >> returns the column data

Please also let me know the conventions of dealing with a jagged array
