Is it possible to replace a substring in a string without assigning a return value?
I have a string:
string test = "Hello [REPLACE] world"; <
You can't, as in C# strings are immutable. Something like this would violate that.
You need to have the return type of string, because the one you're working with cannot change.