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

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            友情鏈接

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            久久无码人妻精品一区二区三区| 久久久久久国产a免费观看不卡| 无码人妻久久久一区二区三区| 麻豆一区二区99久久久久| 97r久久精品国产99国产精| 久久精品国产亚洲Aⅴ香蕉| 久久久久久久女国产乱让韩| 国产精品一久久香蕉产线看| 亚洲va久久久噜噜噜久久男同| 91精品国产综合久久精品| 亚洲国产一成久久精品国产成人综合 | 欧美大香线蕉线伊人久久| 久久精品国产精品青草app| 中文精品99久久国产 | 三级韩国一区久久二区综合| 久久99国产精品久久99果冻传媒| 久久笫一福利免费导航| 国产成人综合久久精品尤物| 人妻精品久久无码区| 亚洲欧美一级久久精品| 99国内精品久久久久久久| 久久精品国产亚洲AV嫖农村妇女| 久久国内免费视频| 午夜精品久久久久久久无码| 51久久夜色精品国产| 国产午夜久久影院| 久久97精品久久久久久久不卡| 久久久久亚洲av无码专区导航 | 免费一级欧美大片久久网| 国产精品天天影视久久综合网| 久久久av波多野一区二区| 久久精品一区二区三区AV| 久久这里的只有是精品23| 久久精品极品盛宴观看| 狠狠色噜噜色狠狠狠综合久久| 伊人久久无码精品中文字幕| 久久久久国色AV免费观看| 久久久中文字幕日本| 亚洲国产综合久久天堂| 久久SE精品一区二区| 久久超碰97人人做人人爱|