If by "changing length" here you mean "trim last 10 characters", then
use RemoveAt() method (which, of course, won't work on a string that
was MadeReadOnly()). Otherwise, please explain in more detail what you
want to achieve.
If by "changing length" here you mean "trim last 10 characters", then
use RemoveAt() method (which, of course, won't work on a string that
was MadeReadOnly()). Otherwise, please explain in more detail what you
want to achieve.