Palindrome c# | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
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