I am coming from c++ and its nice STL. In C++ I could do this
<include> string
...
...
int nMyInt = 5;
string sMyString;
sMyString[5] = "b";
Ive tried this approach in c# but doing this way gives me this error
Property or indexer 'string.this[int]' cannot be assigned to -- it is read only
And I understand the error... is there anyway to do this in C#??