05 2020 档案

摘要:参考https://www.cnblogs.com/shiyh/p/7478241.html Table to List 一、 static public List<T> Tolist<T>(DataTable dt) where T : class, new() { Type t = typeof 阅读全文
posted @ 2020-05-22 14:02 LoneRanger_WDY 阅读(354) 评论(0) 推荐(0) 编辑
摘要:转 方式一 使用二进制 4 public static class ObjectCopier 5 { 6 public static T Clone<T>(T source) 7 { 8 if (!typeof(T).IsSerializable) 9 { 10 throw new Argument 阅读全文
posted @ 2020-05-12 15:14 LoneRanger_WDY 阅读(1531) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示