Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
coderguy123
· 13y ago · 0 comments
text.Split(' ').Where(x=>!string.IsNullOrWhiteSpace(x)).GroupBy(x => x).Select(x => new { word = x.Key, count = x.Count() }).OrderByDescending(x => x.count).Select(x=>x.word).Take(10).ToArray();
Comments
No comments yet.
Better HN