只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2009-03-26 17:25
Dhoopu
阅读(78)
评论(0)
推荐(0)
摘要:
判断??左边表达式是否为null,如是null则取右边表达式的值,否则就取左边表达式的值
The ?? operator returns the left-hand operand if it is not null, or else it returns the right operand. 阅读全文
posted @ 2009-03-26 17:12
Dhoopu
阅读(4678)
评论(1)
推荐(0)
摘要:
类可以被继承,而结构则不支持。
结构对象不能像类对象一样赋值为null。
结构不能像类一样定义析构器。
结构不能像类一样定义为抽象的。
在结构中不能重写方法,除非是object类型的如下方法:
阅读全文
posted @ 2009-03-26 12:42
Dhoopu
阅读(290)
评论(1)
推荐(0)

浙公网安备 33010602011771号