强转.as is 的用法 强制转换类型有两种:子类转基类,重写隐式(implicit )\显示(explicit) 转换操作符 class myclass { private int value; public int Value { get { return value; } } public myclass(int value) { this.value = value; } public static implicit operator myclass(int value) { retur…