+ 1

How to check string is symmetric in c#

29th Dec 2018, 3:36 PM
Ali
3 odpowiedzi
+ 1
If you mean that you want to know if a word is a palondrome, then you could through the string with a loop and chack if the first char is equal to the last , second char equal to the second last and so on.. Or you can more simply reverse the string and then compare if the 2 strings are equal or not
29th Dec 2018, 3:48 PM
Sekiro
Sekiro - avatar
0
What is difference between palindrome and symmetric..?
29th Dec 2018, 4:04 PM
Ali
0
What
5th Jan 2021, 7:32 AM
Timur Shuxratovi