Mentor
- 23,211
- 7,697
Thanks, pbuk. I got around whatever limitation kept me from passing the reference to the original string around by creating my own class.pbuk said:Yes that's right.
It's probably also worth mentioning that strings in C# are immutable: it is not possible to change their state. If you want to pass something to a function that modifies it then you can use the StringBuilder class.