Palindrome c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Palindrome c#

How would one carry out a method with a boolean type that accepts string as a parameter and returns true is the string is palindrome and false otherwise

8th Jun 2019, 1:01 PM
Tracy Mulder
Tracy Mulder - avatar
2 Answers
0
reserve the string using a loop and check if the new and old strings are equal.
8th Jun 2019, 2:55 PM
Farry
Farry - avatar
10th Jun 2019, 12:41 AM
Andrea Cervi
Andrea Cervi - avatar