I want to create variable length multi-dimension array at runtime.
Input -> Array that has length of each dimension. Number of dimensions = length of input array.
Output -> variable dimension array.
Example:
Input -> var lengths = new [] {3,4,5}
Expected output -> var arr = new string[3,4,5]
How to do that without and with reflection?