用于获取类型的 System.Type 对象。typeof 表达式采用以下形式:

 CopyCode image复制代码
System.Type type = typeof(int);

Expand 图像备注

Expand 图像示例

Expand 图像C# 语言规范

Expand image请参见