i.e. Strings cannot be altered. When you alter a string (by adding to it for example), you are actually creating a new string.
But StringBuilder is not immutable
so if u have to alter a string many times, such as mutliple concatenations then use StringBuilder.
MVP SQL Server
immutable means data value may not be changed but mutable means data value will be changed.
thanks and regards,
System.StringBuilder is mutable where variety of operations can be performed
System.String is immutable variable value may change BUT original data value will be discarded and new value will be in memory.
Mutable is liable to change
Immutable is not liable to change...