懒得勤快 3 달 전
부모
커밋
540d59fa35
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -955,9 +955,9 @@ list.ChangeIndex(t=>t.Id=="123",2); // 将id为123的元素的索引位置变为
 var item=list.Percentile(50); // 取第50%分位数的元素
 
 // 比较两个集合的差异
-var (adds,updates,removes)=list1.CompareChanges(list2,x=>x.Id); // 按Id字段比较两个集合的差异,返回新增、更新、删除的元素
-var (adds,updates,removes)=list1.CompareChanges(list2,x=>x.Id+x.Name); // 按Id和Name字段比较两个集合的差异,返回新增、更新、删除的元素
-var (adds,updates,removes)=list1.CompareChangesPlus(list2,x=>x.Id+x.Name); // 按Id和Name字段比较两个集合的差异,返回新增、更新、删除的元素,其中updates返回的每个元素包含了旧值和新值
+var (adds,removes,updates)=list1.CompareChanges(list2,x=>x.Id); // 按Id字段比较两个集合的差异,返回新增、删除、更新的元素
+var (adds,removes,updates)=list1.CompareChanges(list2,x=>x.Id+x.Name); // 按Id和Name字段比较两个集合的差异,返回新增、删除、更新的元素
+var (adds,removes,updates)=list1.CompareChangesPlus(list2,x=>x.Id+x.Name); // 按Id和Name字段比较两个集合的差异,返回新增、删除、更新的元素,其中updates返回的每个元素包含了旧值和新值
 ```
 
 ### 31.Mime类型