S
Steve
I have this code:
string test = new string(' ', 2);
test[0] = 't';
and I'm getting a compiler error that string.this[int] is read only. Hmmm.
Why? I didn't declare it const or readonly?
string test = new string(' ', 2);
test[0] = 't';
and I'm getting a compiler error that string.this[int] is read only. Hmmm.
Why? I didn't declare it const or readonly?