Choose Category
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace ForgetCode { class Program { static void Main(string[] args) { string text = "My name is Forget Code"; char[] textarray = text.ToCharArray(); foreach (char c in textarray) { if (c.Equals('e')) { Console.WriteLine("The letter is present"); break; } } } } }