04 2019 档案
【C#】反射遍历对象属性名与值
摘要:public string GetProperties<T>(T t) { string tStr = string.Empty; if (t == null) { return tStr; } System.Reflection.PropertyInfo[] properties = t.GetT 阅读全文
posted @ 2019-04-24 10:27 絆τ 阅读(409) 评论(0) 推荐(0)