Question: string is immutable in c# with example?
Answer: Immutability of String Objects String objects are immutable: they cannot be changed after they have been created. All of the String methods and C# operators that appear to modify a string actually return the results in a new string object. ... WriteLine(s1); // Output: A string is more than the sum of its chars.