• <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 閱讀(150) 評論(0)  編輯 收藏 引用
            <2009年7月>
            2829301234
            567891011
            12131415161718
            19202122232425
            2627282930311
            2345678

            常用鏈接

            留言簿(3)

            隨筆分類

            隨筆檔案

            文章分類

            文章檔案

            友情鏈接

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            国产香蕉久久精品综合网| 成人亚洲欧美久久久久 | 国产精品福利一区二区久久| 精品久久久无码人妻中文字幕豆芽 | 久久91精品国产91久久小草| 久久精品青青草原伊人| 九九久久99综合一区二区| 亚州日韩精品专区久久久| 国产一区二区精品久久| 中文字幕精品久久| 国产视频久久| 国内精品久久国产大陆| 亚洲色婷婷综合久久| 久久亚洲国产精品123区| 久久免费国产精品一区二区| 亚洲欧美伊人久久综合一区二区 | 亚洲人成网亚洲欧洲无码久久| 97精品久久天干天天天按摩| 精品久久久久久无码不卡| 久久精品无码一区二区三区日韩| 久久久精品2019免费观看| 99久久这里只精品国产免费| 伊人色综合久久天天| 亚洲精品国产成人99久久| 精品国产乱码久久久久久1区2区 | 欧洲精品久久久av无码电影| 国产精品久久久久蜜芽| 伊人久久大香线蕉无码麻豆| 精品国产热久久久福利| 99久久精品国产毛片| 久久99国产亚洲高清观看首页| 麻豆亚洲AV永久无码精品久久 | 日本亚洲色大成网站WWW久久| 99久久国产免费福利| 97超级碰碰碰碰久久久久| 国产精品美女久久久久网| 久久伊人精品青青草原高清| 久久综合欧美成人| 国产免费久久久久久无码| 久久久无码精品亚洲日韩软件| 久久精品99无色码中文字幕|