2019年6月19日

C# HashCode

摘要: 如果两个对象的HashCode相等,可以认为两者相等。类型和值都相等。 xx.GetHashCode(); 阅读全文

posted @ 2019-06-19 14:42 马什么梅 阅读(3156) 评论(0) 推荐(0) 编辑

C# 反射

摘要: 根据type创建对象的几种方法 (1) type.GetConstructor() / GetConstructors() types = new Type[]{ typeof(string) , typeof(int)}; (指定该构造函数有两个参数,分别是string型和int型) constr 阅读全文

posted @ 2019-06-19 11:23 马什么梅 阅读(185) 评论(0) 推荐(0) 编辑

导航