I have a list of char
, which I want to save in a string with the ToString
method.
The problem is that it saves me anything:
For more information, the method, what it does is to receive the string changed from a TextBox
, evaluate if there is a non-integer character inside the string , and if it exists, remove it (finding the character, creating a list with the characters of the string received, removing from the list the character that matches the one found, which is not integer, then returning the list to string and showing it in TextBox
).
Why do you keep the string wrong?