C# "Words" code project help
I'm trying to take a letter as input, iterate through an array of strings and output all words that contain the letter. This is my code, I'm not sure what I'm missing. Thank you! using System; using System.Collections.Generic; namespace Code_Coach_Challenge { class Program { static void Main(string[] args) { string[] words = { "home", "programming", "victory", "C#", "football", "sport", "book", "learn", "dream", "fun" }; string letter = Console.ReadLine(); int count = 0; for (count =0; count <= words.Length; count++); { if (words.Contains(letter)){ Console.Write(words[count]); } else { Console.Write("No match"); } }