I know that I'm able to use LINQ to initialize a 1D array by doing this:
But is there a way that I could do the same thing for a 2D array too?Code:Dim foo() As Boolean = Enumerable.Range(0, 9).ToList().ConvertAll(Function(i) True).ToArray()
|
Results 1 to 5 of 5
Thread: Use LINQ to Initialize 2d ArrayThreaded View
|
Click Here to Expand Forum to Full Width |