• <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 閱讀(143) 評論(0)  編輯 收藏 引用
            <2011年4月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            1234567

            常用鏈接

            留言簿(3)

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            友情鏈接

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            99久久99久久| 免费无码国产欧美久久18| 大伊人青草狠狠久久| 93精91精品国产综合久久香蕉| 91亚洲国产成人久久精品| 午夜精品久久久久久| 久久久久99精品成人片欧美| 国产精品99久久久久久宅男 | 久久午夜福利无码1000合集| 国产精品免费看久久久| 亚洲国产小视频精品久久久三级 | 色综合久久天天综合| 久久亚洲精品无码aⅴ大香| 色综合久久中文色婷婷| 久久综合亚洲欧美成人| 欧美成人免费观看久久| 丁香五月综合久久激情| 丰满少妇高潮惨叫久久久| 亚洲伊人久久成综合人影院| 久久e热在这里只有国产中文精品99| 97精品依人久久久大香线蕉97 | 亚洲精品无码久久久久sm| 欧美激情精品久久久久久久九九九 | 精品多毛少妇人妻AV免费久久| 久久综合国产乱子伦精品免费| 亚洲人成网站999久久久综合| 2020最新久久久视精品爱 | 久久国产乱子伦免费精品| 国产成人精品综合久久久久| 国内精品伊人久久久影院| 久久亚洲国产精品123区| 久久无码精品一区二区三区| 久久精品亚洲乱码伦伦中文| 国产亚洲精久久久久久无码AV| 国产精品毛片久久久久久久| 国内精品久久国产大陆| 99久久免费国产特黄| 91久久九九无码成人网站| 99久久精品免费看国产一区二区三区 | 麻豆亚洲AV永久无码精品久久| 777午夜精品久久av蜜臀|