Skip to content

EasyConceptC# Language Fundamentals

What is the difference between string and StringBuilder?

What a good answer covers

Strings are immutable, so each change creates a new string. StringBuilder mutates an internal buffer and is better for many concatenations in loops.

More on C# Language Fundamentals

Flashcards for this topic