Difference between String and Stringbuilder
String String is immutable. Immutable means once we create string object we cannot modify. Any operation like insert, replace or append happened to change string simply it will discard the old value and it will create new instance in memory to hold the new value.
String builder String builder is mutable it means once we create string builder object we can perform any operation like insert, replace or append without creating new instance for every time.