Strings in C#
Usage
This is how we store text in C#.
String
is an immutable (unchangeable) sequence of characters.
Immutability
Immutable means it cannot change 😐.
So, whenever you create a string
, it remains the same – you can't ever change the chars
inside of it, or its size
.
The idea is that you can't manipulate an existing string.