2016年3月21日
摘要: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo 阅读全文
posted @ 2016-03-21 20:18 狂奔的蜗牛163 阅读(196) 评论(0) 推荐(0) 编辑
摘要: // 数据类型? 表示参数的值可以为null空,此时这个参数可调用属性hasvalue来判断,此参数是否有除了null以外的值;进而进行其它的工作 //必须要加?才可用hasvalue属性 private int? x = null; //或者写成private int? x 一个作用 private void Form1_Load(object sender, Event... 阅读全文
posted @ 2016-03-21 18:50 狂奔的蜗牛163 阅读(2278) 评论(0) 推荐(0) 编辑