• <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 閱讀(141) 評論(0)  編輯 收藏 引用
            <2012年4月>
            25262728293031
            1234567
            891011121314
            15161718192021
            22232425262728
            293012345

            常用鏈接

            留言簿(3)

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            友情鏈接

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            国产成人无码精品久久久免费| 久久久久一级精品亚洲国产成人综合AV区| 亚洲七七久久精品中文国产| 久久精品视频一| 国内精品伊人久久久久AV影院| 色噜噜狠狠先锋影音久久| 久久精品国产只有精品66 | 国产69精品久久久久99尤物| 久久99热这里只有精品国产| 狠狠精品久久久无码中文字幕 | 久久精品成人免费国产片小草| 久久久99精品一区二区| 久久亚洲精品成人AV| 久久婷婷人人澡人人| 99久久精品日本一区二区免费| 亚洲欧美日韩精品久久亚洲区| 久久亚洲私人国产精品vA| 亚洲精品NV久久久久久久久久| av午夜福利一片免费看久久| 麻豆av久久av盛宴av| 久久午夜无码鲁丝片午夜精品| 精品少妇人妻av无码久久| 久久久亚洲裙底偷窥综合| 久久99精品久久久久久秒播| 2022年国产精品久久久久| 亚洲人成伊人成综合网久久久| 久久久免费观成人影院| 99久久人人爽亚洲精品美女| 国产亚洲精久久久久久无码| 国产亚洲精久久久久久无码77777| 久久久久久噜噜精品免费直播| 国产成人无码精品久久久免费| 久久精品中文騷妇女内射| 日本欧美久久久久免费播放网| 亚洲人成网亚洲欧洲无码久久| 狠狠色丁香久久婷婷综合_中 | 亚洲国产精久久久久久久| 俺来也俺去啦久久综合网| 国产精品久久自在自线观看| A狠狠久久蜜臀婷色中文网| 7777久久亚洲中文字幕|