• <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)

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            友情鏈接

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            精品久久久久久国产| 91久久精品电影| 97香蕉久久夜色精品国产| 无码国内精品久久综合88| 婷婷综合久久中文字幕蜜桃三电影| 精品久久久久久综合日本| 久久久久黑人强伦姧人妻| 日韩人妻无码一区二区三区久久| 久久福利青草精品资源站免费| 久久久WWW免费人成精品| 久久夜色精品国产噜噜麻豆| 精品一久久香蕉国产线看播放| 一本久道久久综合狠狠爱| 国产综合免费精品久久久| 伊人久久大香线蕉AV色婷婷色| 99久久免费只有精品国产| 久久亚洲中文字幕精品有坂深雪 | 久久av高潮av无码av喷吹| 香蕉久久夜色精品国产2020| 亚洲中文字幕久久精品无码喷水| 国产日产久久高清欧美一区| 久久亚洲中文字幕精品一区| 久久精品成人影院| 久久精品一区二区| 无码日韩人妻精品久久蜜桃| 伊人久久亚洲综合影院| 97精品伊人久久久大香线蕉 | 久久精品国产第一区二区| 国产精品99久久久久久人| 亚洲狠狠婷婷综合久久久久| 亚洲精品综合久久| 一本久久免费视频| 久久精品国产亚洲αv忘忧草| 久久伊人五月天论坛| 久久久久18| 伊人伊成久久人综合网777| 亚洲欧洲精品成人久久曰影片| 久久久久无码精品国产app| 久久精品国产99久久香蕉| 国产精品无码久久四虎| 久久久久亚洲av成人无码电影|