is三种用法:1.自己 is 自己 为true2.子类 is 基类 为true3.基类 is 子类 为true
as的注意点子类 as 基类时,会将子类的其余字段给删掉,只用基类的东西
若有收获,就点个赞吧
0 人点赞
让时间为你证明