Number of elemens in array

Feb 18, 2011 at 6:15 PM

1)  Determine number of arrays inside in array

 

Example 1 = {[[[1,2],[3,4]],[[5,6],[6,7]]]}    in C# similar to string[][]

Example 2 = {[[1,2],[3,4]]}      in C# similar to string[]

 

There is no easy way to make the distinction between an simple array like example 2 and example 1.