From my understanding, you cannot define arrays the way you want. Other posters indicated that you can use associative arrays (dictionaries)
At best, you can create a workaround:
string[] array = {"array0", "", "array2", "array3"};
or
string[] array = new string[4]; array[0] = "array0"; array[2] = "array2";
source share