int是System.Int32别名吗?那long是Int64别名咯?string是String?
是这样吗?
大家帮帮我,我初学者

解决方案 »

  1.   

    简单的说, 你可以这么理解~!~string属于C#的类型  
      String属于.NET   的类型  
       
      在.NET   所有的类型都是对象。下面是.NET   C#   VB.NET   IL的类型对应表:  
       
      NET                             C#               VB.NET                 IL           值或引用  
      System.Boolean     bool             Boolean           bool                 Value  
      System.Byte           byte             Byte         unsigned   int8       Value  
      System.Char           char             Char                 char                 Value  
      System.DateTime     -                   Date                 -                           Value  
      System.Decimal   decimal         Decimal           -                           Value  
      System.Double       double         Double           float64             Value  
      System.Int16         short           Short             int16                 Value  
      System.Int32         int               Integer         int32                 Value  
      System.Int64         long               Long             int64                 Value  
      System.Object       object         Object           object           Reference  
      System.SByte           sbyte           -                       int8                   Value  
      System.Single       float           Single             float32             Value  
      System.String         string         String           string           Reference  
      System.UInt16         ushort         -             unsigned   int16         Value  
      System.UInt32         uint             -             unsigned   int32           Value  
      System.UInt64         ulong         -               unsigned   int64           Value   
      

  2.   

    内部是这样实现的:
    using int=System.Int32;
      

  3.   

    类型      范围                                      大小                       .NET Framework 类型  
    int      -2,147,483,648 到 2,147,483,647      有符号 32 位整数           System.Int32 
     
      

  4.   

    自己 GetType() print 一下呀