What's better for creating distinct data structures: HashSet or Linq's Distinct()?

前端 未结 6 1378
忘了有多久
忘了有多久 2020-12-09 15:37

I\'m wondering whether I can get a consensus on which method is the better approach to creating a distinct set of elements: a C# HashSet or using IEnumera

6条回答
提交回复
热议问题