-
Course
- Core Tech
StringBuilder Internals
StringBuilders are a great way to improve the performance of many applications.. This course will teach you how to use StringBuilders effectively to improve program performance while avoiding some of the issues commonly encountered when using them.
What you'll learn
Correctly using StringBuilders can be more complex than it initially seems. In this course, StringBuilder Internals, you’ll learn to identify the correct times, and ways, to use StringBuilders as well as when not to. First, you’ll explore the most common usage patterns and what is happening behind the scenes. Next, you’ll discover different ways StringBuilders can be manipulated and how those actions can impact performance. Finally, you’ll learn how to identify the appropriate times to use, or not use, a StringBuilder and the best practices to keep in mind. When you’re finished with this course, you’ll have the skills and knowledge of StringBuilder internals needed to create more efficient applications.
Table of contents
- Version Check | 16s
- Overview | 43s
- Why Do We Need StringBuilders? | 5m 30s
- Demo: Performance of String vs StringBuilder | 4m 52s
- Creating and Appending Data | 8m 46s
- What's Happening Behind the Scenes? | 4m 58s
- Appending Collections of Data Using AppendJoin | 2m 39s
- Demo: Exporting CSV From a DataTable | 2m 50s
- Formatting Data Using AppendFormat | 1m 44s
- Demo: Exporting HTML From a DataTable | 1m 44s
- Summary | 36s
About the author
Robert spent nearly 10 years at Microsoft creating software that made it easier for everyone else to write software. Most recently Robert worked on Team Foundation Server on the Administration and Version Control teams. Currently Robert can be found working in the utilities sector on Smart Grid technologies.
More Courses by Robert