Edit characters in a String in CSharp

Posted by David Relihan on Stack Overflow See other posts from Stack Overflow or by David Relihan
Published on 2010-05-28T17:46:10Z Indexed on 2010/05/28 17:51 UTC
Read the original article Hit count: 144

Filed under:
|

Hi folks,

Real quick question - what's the cleanest way of editing the characters in a string in C#?

i.e. what is cleanest C# equivalent of c++:

std::string myString = "boom";
myString[0] = "d";

© Stack Overflow or respective owner

Related posts about c#

Related posts about string-manipulation