Tracks
/
C#
C#
/
Syllabus
/
String Builder
St

String Builder in C#

1 exercise

About String Builder

Using StringBuilder is seen as hugely preferable to building up strings with multiple repeated concatenations with a + or += operator. Obviously simple one off concatenations are preferable to instantiating a StringBuilder for clarity as well as performance. This is what Jon Skeet has to say about performance.

Edit via GitHub The link opens in a new window or tab

Learn String Builder

Practicing is locked

Unlock 2 more exercises to practice String Builder