15 lines
263 B
C#
15 lines
263 B
C#
using System;
|
|
using System.Linq;
|
|
|
|
class Program
|
|
{
|
|
static bool IsPalindrome(string text)
|
|
{
|
|
return text == new String(text.Reverse().ToArray());
|
|
}
|
|
|
|
static void Main(string[] args)
|
|
{
|
|
Console.WriteLine(IsPalindrome("ingirumimusnocteetconsumimurigni"));
|
|
}
|
|
}
|