- public static void Main(string[] args)
- {
- List<string> list = new List<string>();
- while (true)
- {
- string input = Console.ReadLine();
- if (input == "")
- {
- break;
- }
- list.Add(input);
- }
- Console.WriteLine("Search for " );
- string look = Convert.ToString(Console.ReadLine());
- list.Contains(look);
- Console.WriteLine("found " + look);
Loading


Avnish KumarRank #1,003 · 2K reputationPosted Feb 16, 2020, 10:10 PM EST
Mngaro Mwazenje72 reputationPosted Feb 16, 2020, 10:28 PM EST
Mngaro Mwazenje72 reputationPosted Feb 16, 2020, 9:43 PM EST