C# 的关键字系列(4 of n)

和对象类型(object type),类型转换(type conversions)打交道的关键字: as is explicit implicit operator sizeof typeof     is and as     is : 用来判断某个对象是不是某个类型。 string str= string.Empty;  if (str is string)  {  } 在这里如果str 是s
相关文章
相关标签/搜索