Public Static Readonly Fields
本文档由 夜晚回家 分享于2011-04-12 08:39
You have a type that cannot be represented as a const value in the C# programming language but is not subject to change during the execution of your program. Instead of using const, you can use static readonly fields and declare class or struct instances that cannot be modified during the program´s execution, resulting in code that is more resistant to programmer errors. Here we ..
分享:
君,已阅读到文档的结尾了呢~~