I have a question about typed array initialization in IronPython. I want to initialize inline typed two-dimensional array in IronPython.
In IronPython I discovered how to initialize simple typed array:
pythonTypedArray = Array[int]([0, 1, 2, 3, 4])
and how to initialize typed array of arrays:
pythonTypedArrayOfArrays = Array[Array[int]]([Array[int]([0, 1]), Array[int]([2, 3])])
For example, in C# I can do like so:
int[,] twoDimensionalArray = new int[,] { {0, 1, 2, 3, 4}, {5, 6, 7, 8, 9} };
Can I initialize inline two-dimensional typed array in IronPython? If no, what is the best way to initialize two-dimensional typed array in IronPython?