摘要: 1 public class ClassIndex 2 { 3 4 public object this[string index] 5 { 6 get 7 { 8 object result = null; 9 foreach (var item in this.GetType().GetProperties()) 10 { 11 if (index == item.Name) 12 { 13 阅读全文
posted @ 2019-10-17 20:55 苍云者 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading; 6 using System.Threading.Tasks; 7 8 namespace study01 9 { 10 /* 11 * 用法: 12 Back 阅读全文
posted @ 2019-10-17 20:52 苍云者 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections; 3 using System.Collections.Generic; 4 using System.Linq; 5 using System.Reflection; 6 using System.Text; 7 阅读全文
posted @ 2019-10-17 20:50 苍云者 阅读(451) 评论(0) 推荐(0) 编辑