C# List按某对象的属性分组 IGrouping
2021-03-15 03:42
标签:_id tail dem mode nbsp 对象 count detail models C# List按某对象的属性分组 IGrouping 标签:_id tail dem mode nbsp 对象 count detail models 原文地址:https://www.cnblogs.com/johsan/p/12447562.html
listTest.Add(new RECORD_DETAIL { SYS_ID = 1, SYS_NO = "A" });
listTest.Add(new RECORD_DETAIL { SYS_ID = 1, SYS_NO = "AA" });
listTest.Add(new RECORD_DETAIL { SYS_ID = 2, SYS_NO = "B" });
IGrouping
int groupCount = models.Count
文章标题:C# List按某对象的属性分组 IGrouping
文章链接:http://soscw.com/index.php/essay/64799.html