# 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.

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

Level: Apprentice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/apprentice)

Updated: September 27, 2026

## In other subjects

- [String Immutability in Java](https://www.ask-codey.com/glossary/string-immutability)

Source: https://www.ask-codey.com/glossary/string-immutability-c-sharp
