GetUpperBound
来源:互联网 发布:office2016激活 知乎 编辑:程序博客网 时间:2024/06/12 03:55
GetUpperBound获取数组的最高下标。 GetLowerBound可以获取数组的最低下标。 例如:
string[ ] strArray = new string[3];
for(int x=0;x<=strArray.GetUpperBound(0) ;x++)
这样就可以实现对数组的遍历,因为
strArray.GetUpperBound(0) = 2;
- GetUpperBound
- c#中的Rank属性和GetUpperBound方法
- c#中的Rank属性和GetUpperBound,GetLowerBound(0)方法
- c# 中的Rank属性和GetUpperBound,GetLowerBound(0)方法
- 实验Sort、Reverse 、Copy、IndexOf、BinarySearch、Clear 、GetLength()、GetLowerBound()、GetUpperBound ()方法;实验Ra
- 跨平台实现客户端流控
- Kerberos原理--经典对话
- Linux内核中 kernel_thread函数的若干问题说明
- bat
- BLL-自动生成业务逻辑层代码
- GetUpperBound
- MCI_OVLY_OPEN_PARMS Structure 结构中的成员 lpstrDeviceType的值
- 个人开公司的流程,以后用得着
- DAL-自动生成数据访问层代码
- 游戏开发流程和部分分工
- symbian 资源文件中定义菜单
- 不同CS(文件)类中使用接口或不同CS文件中使用接口
- 从Visual C++6.0到Visual C++2010见证VC++辉煌时刻
- Linux常用指令速查手册