首页 > 其他 > 详细

ignorable tips

时间:2014-05-16 05:19:37      阅读:325      评论:0      收藏:0      [点我收藏+]

枚举 索引从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

ignorable tips

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!