I have a string as input and have to break the string in two substrings. If the left substring equals the right substring then do some logic.
How can I do this?
Just for fun:
return myString.SequenceEqual(myString.Reverse());