摘要: implicit:自定义类型隐式转换。explict:自定义类型强制转换。 class Program { static void Main(string[] args) { Currency currency = new Currency(1... 阅读全文
posted @ 2015-05-08 15:11 江境纣州 阅读(61) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { someclass x = new someclass(); int hashCode = RuntimeHelp... 阅读全文
posted @ 2015-05-08 13:40 江境纣州 阅读(54) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { long val = 30000000000; try { checked ... 阅读全文
posted @ 2015-05-08 13:17 江境纣州 阅读(74) 评论(0) 推荐(0) 编辑