C#数组定义

390阅读 0评论2015-08-12 xuanying_china
分类:C#/.net

 数组类型[] 数组名=new 数组类型[数组长度];
 int[] nums = new int[10];
跟C语言中有点不一样
上一篇:C# 异常捕获
下一篇:C#静态和非静态的区别