Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
where the expression-list specifics how many elements in each dimension, not their starting & ending indices.MSDN said:array-creation-expression:
new non-array-type [ expression-list ] rank-specifiersopt array-initializeropt
new array-type array-initializer
Here's how to use it.MSDN said:public static Array CreateInstance(
Type elementType,
int[] lengths,
int[] lowerBounds
);
int[] lenArray = new int[5];
int[] boundsArray = new int[1];
System.Array a = System.Array.CreateInstance(typeof(int), lenArray, boundsArray);
Console.WriteLine("Lower:" + a.GetLowerBound(0).ToString() + " Upper:" + a.GetUpperBound(0).ToString());