登 录
const
1、静态
2、编译时赋值
3、值类型与string
readonly
1、可访问器赋值
2、运行时赋值
3、所有类型
static readonly
2、编译时赋值,静态无参构造函数赋值
3、 所有类型
抱歉!评论已关闭.