static async void GetKnown(string[] args) { if (args.Length != 2) { return; } IEnumerable <string> anagrams = await checker.FindAnagramsAsync(args[1]); if (anagrams.Count() == 0) { Console.WriteLine("No anagrams found!"); } else { foreach (var curAnagram in anagrams) { Console.WriteLine(curAnagram); } } }