方法 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"}; 更多学习资讯,学习源码,请在耶宇星球领取