reading Excel with ClosedXML
<p>What would be the most efficient way to read an entire Excel file using ClosedXML and returning <code>List&lt;List&lt;object&gt;&gt;</code> ? </p>

<p>This somehow doesn't give me data. I get empty lists. </p>

<pre><code>        var wb = new XLWorkbook(finalFilePath);
        var ws = wb.Worksheets.First();
        var range = ws.RangeUsed();
        var colCount = range.ColumnCount();
        var rowCount = range.RowCount();

        var i = 1;
        var j = 1;
        List&lt;List&lt;object&gt;&gt; data = new List&lt;List&lt;object&gt;&gt;();
        while (i &lt; rowCount + 1)
        {
            List&lt;object&gt; row = new List&lt;object&gt;();
            while (j &lt; colCount + 1)
            {
                row.Add(ws.Cell(i, j).Value);
                j++;
            }
            data.Add(row);
            i++;
        }
</code></pre>