摘要: -----摘自51CTO 所谓的浏览器兼容性问题,是指因为不同的浏览器对同一段代码有不同的解析,造成页面显示... 阅读全文
posted @ 2014-06-04 11:06 草上晨光 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 今天想到了一个比较有意思的for循环题:0,1,1,2,2可以组成多少个不重复的五位数?它主要是for循环多层嵌套外加if判断,代码如下: protected void Button1_Click(object sender, EventArgs e) { Lis... 阅读全文
posted @ 2014-05-26 16:28 草上晨光 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 抽象工厂的结构 阅读全文
posted @ 2014-05-20 14:14 草上晨光 阅读(254) 评论(0) 推荐(0) 编辑
摘要: namespace 单例模式{ class Student { int id; string name;//1 private Student() { }//2private static Stude... 阅读全文
posted @ 2014-05-20 13:45 草上晨光 阅读(136) 评论(0) 推荐(0) 编辑