ignorable tips

时间:2014-05-16 05:19:37   收藏:0   阅读:326

枚举 索引从0开始

sort 默认升序排列  Array.Sort(intSort);

声明类数组之后,在用到具体的元素时需要再重新声明一遍

public class person{

  pubic string strName;

}

person[] stu=new person[15];

for(int i=0;i<15;i++){

  stu[i]=new person();

stu[i].name="sfsdgs";

}

ignorable tips,布布扣,bubuko.com

原文:http://www.cnblogs.com/miraclesakura/p/3726343.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!