Answer the question
In order to leave comments, you need to log in
How to decompose a multidimensional array into sub-arrays in C#?
Let's say I have the following 3D array:
A = { { {{0, 1, 2}, {3, 4, 5} }, { {6, 7, 8}, {9, 10, 11} }, { { 12, 13, 14}, {15, 16, 17} } }
Does C# have any built-in tools to extract the following array from array A:
B = {0, 1, 2} or = {{0, 1 , 2}, {3, 4, 5} }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question