1.is 和 as 的区别 public class Employee { } a): object obj = new Employee(); if (obj is Employee) { Employee e = (Employee)obj; //do something.... } b): object obj = new Employee(); Employee e = obj as Employee; if (e != null) { //do something... } 以上a和b…