Are C# strings immutable?
Both the Java and C# string classes—C#: System.String, Java: java.lang.String—are immutable. Immutable means that—once created—string values cannot be changed. Methods which may seem to modify string contents, in fact, create a new string containing the new value. The original string remains unchanged.