11智能在线
新记
asp.net中如何获取一个数组的长度?
asp.net中如何获取一个数组的长度?
举报该文章
相关建议 2009-12-09
很简单啊
例如你有一个数组 string[] stus 他的长度就是 stus.length
记住数组时从0开始的
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/fp7v7f448-0.html
其他看法
第1个回答 2009-12-09
int[] arr = {1,1,2,2,33,2,1,23,213,12,3};
Console.WriteLine(arr.Length.ToString());
第2个回答 2009-12-09
int[] a = new int[10];
MessageBox.Show(a.Length.ToString());
第3个回答 2009-12-10
string [] str = {"","","",""};
str.Length();
第4个回答 2009-12-09
uBound(数组名字)
1
2
下一页
相似回答
大家正在搜
相关问题
ASP 数组元素长度
C/C++中如何获取数组的长度?
.net中怎么获得arraylist长度?
asp.net 如何将10,11,/16,17,加入数组,并...
asp.net 下C#取出数组中想要的数并排序
ASP.NET怎么判断一个数组里面是否还有某几个值
asp.net 中如何创建类的对象数组,并获取对象数组的值。
ASP.NET 文本框如何获取 数组的值