第一种
string[] myArray=new string[10];
第二种
string[] myArray={"1","2"};
第三种
string[] myArray=new string[3]{"1","2","3"};
第四种
string[] myArray=new string[]{"1","2","3","4"};
第一种
string[] myArray=new string[10];
第二种
string[] myArray={"1","2"};
第三种
string[] myArray=new string[3]{"1","2","3"};
第四种
string[] myArray=new string[]{"1","2","3","4"};