const -readonly- static readonly

const常量在编译期确定其值,readonly变量在构造一个实例时确定其值,static readonly在程序启动时确定其值。

posted @ 2007-12-18 13:10  shuang  阅读(179)  评论(0编辑  收藏  举报