Z
Zeng
Hello,
Is it true that in C# we can't modify directly a character in a string? I
can't find the method anywhere.
I would expect something like this should work,but it doesn't
string myStr = "blah';
myStr[ 3 ] = 'e';
Thanks in advance for your comment.
Is it true that in C# we can't modify directly a character in a string? I
can't find the method anywhere.
I would expect something like this should work,but it doesn't
string myStr = "blah';
myStr[ 3 ] = 'e';
Thanks in advance for your comment.