• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 195,  comments - 30,  trackbacks - 0

            Use the following three conventions for capitalizing identifiers.

            Pascal case

            The first letter in the identifier and the first letter of each subsequent concatenated word are capitalized. You can use Pascal case for identifiers of three or more characters. For example:

            BackColor

            Camel case

            The first letter of an identifier is lowercase and the first letter of each subsequent concatenated word is capitalized. For example:

            backColor

            Uppercase

            All letters in the identifier are capitalized. Use this convention only for identifiers that consist of two or fewer letters. For example:

            System.IO
            System.Web.UI

            You might also have to capitalize identifiers to maintain compatibility with existing, unmanaged symbol schemes, where all uppercase characters are often used for enumerations and constant values. In general, these symbols should not be visible outside of the assembly that uses them.

            The following table summarizes the capitalization rules and provides examples for the different types of identifiers.

            Identifier Case Example
            Class Pascal AppDomain
            Enum type Pascal ErrorLevel
            Enum values Pascal FatalError
            Event Pascal ValueChange
            Exception class Pascal WebException
            Note    Always ends with the suffix Exception.
            Read-only Static field Pascal RedValue
            Interface Pascal IDisposable
            Note    Always begins with the prefix I.
            Method Pascal ToString
            Namespace Pascal System.Drawing
            Parameter Camel typeName
            Property Pascal BackColor
            Protected instance field Camel redValue
            Note    Rarely used. A property is preferable to using a protected instance field.
            Public instance field Pascal RedValue
            Note    Rarely used. A property is preferable to using a public instance field.
            posted on 2011-04-02 16:25 luis 閱讀(142) 評論(0)  編輯 收藏 引用
            <2011年4月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            1234567

            常用鏈接

            留言簿(3)

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            友情鏈接

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            99久久婷婷免费国产综合精品| 久久最新精品国产| 久久国产欧美日韩精品免费| 人人狠狠综合88综合久久| 久久久国产99久久国产一| 日韩人妻无码精品久久免费一| 国产99久久精品一区二区| 婷婷综合久久狠狠色99h| 合区精品久久久中文字幕一区| 久久99精品国产麻豆宅宅| 久久99国产精一区二区三区| 久久精品国产欧美日韩| 亚洲精品无码久久久久去q| 狠狠久久亚洲欧美专区| 久久人人爽人人人人爽AV| 狠狠久久亚洲欧美专区| 国内精品久久久久影院薰衣草| 国産精品久久久久久久| 国产精品久久久久久久久久影院 | 久久国产热精品波多野结衣AV| 久久99久久99小草精品免视看| 一本一道久久a久久精品综合 | 精品综合久久久久久888蜜芽| 99久久国产免费福利| 久久综合给合久久狠狠狠97色69| 久久精品成人| 久久青草国产手机看片福利盒子| 久久婷婷国产剧情内射白浆 | 97热久久免费频精品99| 久久国产精品无| 美女久久久久久| 品成人欧美大片久久国产欧美...| 久久久SS麻豆欧美国产日韩| 久久国产精品国产自线拍免费| 欧美日韩精品久久久久| 久久久久亚洲av成人无码电影 | 久久99精品久久久久久水蜜桃| 欧美大香线蕉线伊人久久| 久久久亚洲裙底偷窥综合| 久久综合给合综合久久| 久久久久久国产精品无码下载|