by mheydt
10.
June 2009 13:34
>
I came across the need today to convert some CSV (excel data on the clipboard) into an array of arrays strings (string[][]); basically a matrix of strings where each matrix element is one of the cells in Excel.
Usually I'd do this through conventional means like nested foreach statements, but I decided I'd like to try this with LINQ. This is the result I got, which I thought was so very nicely concise:

63f9b1bf-9a16-4818-a5ed-047ebdee0816|0|.0
Tags:
C# | LInQ