第一种
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"};
posted on 2018-10-08 20:36 asdyzh 阅读(29026) 评论(0) 编辑 收藏 举报