摘要:
一、readonly, static, 和 const readonly, static, 和 const 是 C# 中用于修饰字段(成员变量)的关键字,它们有不同的含义和用法。 readonly:readonly 修饰的字段表示只读字段,它的值只能在声明时或在构造函数中进行初始化,之后不能再修改。 阅读全文
posted @ 2017-03-13 16:13
卖雨伞的小男孩
阅读(756)
评论(0)
推荐(0)