C#2.0读书随笔
摘要:
只读字段与常量字段的区别public static readonly double Price=3.72只读字段可以使用引用类型常量字段只能使用内建类型C#中只允许单继承public class InsuranceAccount : Account声明禁止继承的类 public sealed class Account派生类使用 base 访问基类只有虚方法(virtual)和抽象方法才能被覆写(... 阅读全文
posted @ 2006-11-02 21:58
影
阅读(137)
评论(0)
推荐(0)
浙公网安备 33010602011771号