how to group by letter and put in same letter size
c#, linq
Solution
You could group by the lower case letter, using either Char.ToLower or String.ToLower, depending on the type:
var res = from sign in all
group sign by Char.ToLower(sign.first_letter)
into grp
select grp;
Problem
I've got a LINQ query to group elements by the first letter of the word ``` var res = from sign in all group sign by sign.first_letter into grp select grp; ``` But when I have `apple` and `August`, I'll get two groups. Group `a` and group `A`. How to put them in the same group ?