摘要: public static T1 Cast<T1>(object obj) where T1 : class { T1 r = obj as T1; if (r == null) { throw new Exception("Object cast fase."); } return r; } ma 阅读全文
posted @ 2020-01-16 14:16 天天的蓝色 阅读(175) 评论(0) 推荐(0) 编辑