Practice ยท 1 of 4
Word frequency
CHALLENGE
Difficulty: beginner+25 XP
Implement static Dictionary<string, int> WordCounts(IEnumerable<string> words) โ each distinct word (case-**insensitive**, store lowercased) mapped to its count. Null or empty input returns an empty dictionary.
Press Submit to check your solution.
Back to lesson: Practice: Collection workout