You can pass a comparer to GroupBy
, in this case you can use an existing:
.GroupBy(x =>x.Function, StringComparer.OrdinalIgnoreCase);
2
solved How to group by ToLower()? [duplicate]
You can pass a comparer to GroupBy
, in this case you can use an existing:
.GroupBy(x =>x.Function, StringComparer.OrdinalIgnoreCase);
2
solved How to group by ToLower()? [duplicate]