摘要:
解决 集合已修改,枚举操作可能不会执行 foreach (object var in collection_to_loop) { //删除collection_to_loop中元素 } for (int i = 0; i < obj.length; i++) { //删除obj中元素 } 以上两种遍 阅读全文
摘要:
/// <summary> /// DataTable转换为List<Model> /// </summary> public static class DataTableToListModel<T> where T : new() { public static IList<T> Co 阅读全文