摘要: 文件头的Using是Using指令,不是using语句 using (TextWriter tw = File.CreateText("xixi.txt")) { tw.WriteLine("XiXi"); } 阅读全文
posted @ 2014-04-14 18:34 偶是一只IT小小鸟 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 表达式字面量整数字面量 字符字面量 字符串字面量求值顺序优先级 结合性 与C和C++不同,在C#中的数字不具有布尔意义。各种运算符的作用(过)用户定义类型转换class XiXiInt { const int iMaxValue = 100; const int iMinValue = 0; private int theValue = 0; public... 阅读全文
posted @ 2014-04-14 12:13 偶是一只IT小小鸟 阅读(233) 评论(0) 推荐(0) 编辑