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

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            友情鏈接

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            国产三级精品久久| 久久久久久久久无码精品亚洲日韩 | 久久香蕉超碰97国产精品| 午夜精品久久久久久99热| 99国产精品久久久久久久成人热| 国产精品VIDEOSSEX久久发布| 久久婷婷五月综合色99啪ak| 亚洲AV无码1区2区久久| 国内精品久久久久久久久电影网 | 亚洲AV日韩精品久久久久| 色综合久久中文综合网| 一本久久a久久精品亚洲| 麻豆精品久久久一区二区| 国内精品久久久久影院薰衣草| 91超碰碰碰碰久久久久久综合| 久久精品免费全国观看国产| 国产精品亚洲美女久久久| 亚洲精品乱码久久久久久蜜桃图片| 99精品伊人久久久大香线蕉| 久久夜色精品国产噜噜麻豆| 色诱久久av| 久久久黄片| 国产精品gz久久久| 99久久无码一区人妻a黑| 亚洲AV无码久久精品成人| 麻豆久久| 亚洲精品无码久久久| 久久久久免费视频| 国产精久久一区二区三区| 91久久精品电影| 精品久久久久久| AV无码久久久久不卡网站下载| 婷婷久久久亚洲欧洲日产国码AV | 久久亚洲AV成人无码| 久久夜色撩人精品国产小说| 久久不见久久见免费影院www日本| 久久国产高清字幕中文| 久久91精品久久91综合| 国产91色综合久久免费分享| 久久中文娱乐网| 久久久久国产精品麻豆AR影院|