I have a 2-dimensional jagged array (though it\'s always rectangular), which I initialize using the traditional loop:
var myArr = new double[rowCount][]; for
The behavior is correct - Repeat() returns a sequence that contains the supplied object multiple times. You can do the following trick.
Repeat()
double[][] myArr = Enumerable .Repeat(0, rowCount) .Select(i => new double[colCount]) .ToArray();