摘要:
C#箴言:定义常量的两种方法 2006-06-12 07:00 作者: 出处: BLOG 责任编辑:方舟 在C#中定义常量的方式有两种,一种叫做静态常量(Compile-time constant),另一种叫做动态常量(Runtime constant)。前者用“const”来定义,后者用“readonly”来定义。 对于静态常量(Compile-time constant),... 阅读全文
posted @ 2007-05-17 15:52
白沙
阅读(201)
评论(0)
推荐(0)

浙公网安备 33010602011771号