C#中76个关键字统计

来源:互联网 发布:java 包命名特殊符合 编辑:程序博客网 时间:2024/04/30 02:35

C#中76个关键字:
abstract   as        base          bool         break      
byte        case     catch         char         checked
class      const     continue     decimal      default
delegate   do        double       else          enum
event      explicit extern        false        finally  
fixed      float     for           foreach      goto
if          implicit in            int           interface
internal   is        lock          long         namespace
new         null      object       operator     out
override   params   private      protected    public   
readonly   ref       return       sbyte        sealed
short      sizeof    stackalloc  static       string
struct     switch    this         throw         true
try         typeof   uint          ulong        unchecked
unsafe     ushort    using        virtual      void     
while
5个在某些情况下是关键字:
get    set    value    add    remove

这些关键字是一定要记住的,还要记住它们的用法

原创粉丝点击