String Immutability

The rule that a String's character sequence cannot change after the object is created.

What is String Immutability in C#?

String Immutability — The rule that a String's character sequence cannot change after the object is created.

class StatusLabel
{
    string status = "open";
    string uppercaseStatus = "open".ToUpper();
}

Level: Apprentice · More C# terms at this level

Updated

In other subjects