namespace _21._Longest_word
static void Main(string[] args)
string[] words = new []{ "Alexandru", "Ion", "Gigel" };
foreach (String word in words)
if (word.Length > longestWord.Length)
Console.WriteLine($"Longest word: {longestWord} \nLength: {longestWord.Length}");