i’m not really sure if it is possible
but can a jagged array contain multiple types
i need a data structure layered of which the first 2D layer is of the type bytes
Then the next 2D layers can be integer type or float type and finally 2D layer will be again byte, the total number of layers can vary.
is that possible if yes, how would i declare it in C# and how in c++ ?
An approach in C# could be one of the following:
You could then create an abstraction to hold each of these layer types: