as 操作符和强行转换
System.Object o = new ….;
Student s = (Student) o; //转换失败会抛出InvalidCastException
Student s = o as Student();// 转换失败,s为null