Sytem.String[] 動態(tài)數(shù)組的聲明
int ArrayLenght = 10;
//正確的寫法:
System.String[] = new System.String[ArrayLength];
//錯誤的寫法:
System.String[] = new System.String[ArrayLength];{}
這樣會報:"錯誤 32 應(yīng)輸入常量值";
int ArrayLenght = 10;
//正確的寫法:
System.String[] = new System.String[ArrayLength];
//錯誤的寫法:
System.String[] = new System.String[ArrayLength];{}
這樣會報:"錯誤 32 應(yīng)輸入常量值";