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 ..
文档格式:
.pdf
文档大小:
102.62K
文档页数:
5
顶 /踩数:
0 0
收藏人数:
0
评论次数:
0
文档热度:
文档分类:
IT计算机  —  .NET
添加到豆单
文档标签:
Public Static Readonly Fields
系统标签:
readonly static fields public const 程序员
下载文档
收藏
打印

扫扫二维码,随身浏览文档

手机或平板扫扫即可继续访问

推荐豆丁书房APP  

获取二维码

分享文档

将文档分享至:
分享完整地址
文档地址: 复制
粘贴到BBS或博客
flash地址: 复制

支持嵌入FLASH地址的网站使用

html代码: 复制

默认尺寸450px*300px480px*400px650px*490px

支持嵌入HTML代码的网站使用





82