c#中List的元素遍历(foreach)和去重复(distinct)

c#中List的元素遍历(foreach)和去重复(distinct) 1、准备工做 定义实体类peopleweb public List<People> PeopleList { get; set; } public class People { public string Name { get; set; } public int Age {
相关文章
相关标签/搜索