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 ?
You could group by the lower case letter, using either Char.ToLower or String.ToLower, depending on the type: