• <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久久国产综合精品麻豆| 久久精品国产免费| 国产激情久久久久影院小草| 久久精品国产精品亚洲人人 | 久久精品中文字幕第23页| 久久99免费视频| 久久电影网一区| 国内精品久久久久久麻豆| 久久久久久伊人高潮影院| 丰满少妇高潮惨叫久久久| 亚洲精品综合久久| 精品国产VA久久久久久久冰| 久久久噜噜噜久久中文福利| 久久免费视频6| 久久久久久久综合日本亚洲| 亚洲精品99久久久久中文字幕| 久久这里的只有是精品23| 99久久精品费精品国产一区二区| 久久久久AV综合网成人| 99久久国产综合精品网成人影院 | 日韩精品久久久久久免费| 久久播电影网| 久久午夜无码鲁丝片秋霞| 久久国产视屏| 伊人久久大香线蕉av不卡| 亚洲国产成人久久一区WWW| 久久人做人爽一区二区三区| 久久r热这里有精品视频| 欧美性猛交xxxx免费看久久久| 国产成人精品久久二区二区| 青春久久| 久久久久夜夜夜精品国产| 亚洲欧美日韩精品久久亚洲区| 97久久综合精品久久久综合| 久久久综合香蕉尹人综合网| 久久人人爽爽爽人久久久| 99久久精品免费| 国产精品久久久久久久久鸭| 久久久久亚洲精品日久生情| 久久精品国产WWW456C0M| 久久精品国产亚洲沈樵|