using System; using System.Linq; static class Palindromes { private static void Main() { string[] words = { "test", "notPalindrome", "azuruza", "aha", "what?", "b" }; Console.WriteLine(string.Join(", ", words.Where(w => w.SequenceEqual(w.Reverse())))); } }