You are viewing a single comment's thread. Return to all comments →
return arr.GroupBy(x => x) .OrderByDescending(g => g.Count()) .ThenBy(g => g.Key) .First() .Key;
Seems like cookies are disabled on this browser, please enable them to open this website
Migratory Birds
You are viewing a single comment's thread. Return to all comments →
**C# with LINQ **