---
title: "What is the difference between System.String and System.StringBuilder classes?"  
description: "What is the difference between System.String and System.StringBuilder classes?"  
author: "Sumit Kesarwani"  
published: 2013-12-18  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/1838/what-is-the-difference-between-system-string-and-system-stringbuilder-classes  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is the difference between System.String and System.StringBuilder classes?

System.String is immutable.

System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.

## Answers

### Answer by Sumit Kesarwani

System.String is immutable.

System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.


---

Original Source: https://www.mindstick.com/interview/1838/what-is-the-difference-between-system-string-and-system-stringbuilder-classes

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
