C#.I need your help!
In this program if string letter exists in the array words it displays the word containing the letter. How can I make the program to output "No match" one time if the letter is not exist in the all array? 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<10; count++) { if(words[count].Contains(letter)) Console.WriteLine(words[count]); } } } //your code goes here }