C# program to check whether a given string is a palindrome
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run ——————————————————————————————————————————— Program to check string is palindrome | not ——————————————————————————————————————————— Enter the string NAAN Length of a string is 4 Reverse string is NAAN String is palindrome ——————————————————————————————————————————— kodingwindow@kw:~/csharp$
Advertisement