Event Signup

Note: You are not currently logged in. If you log in, we can fill in some information and save you a lot of typing.

Please provide all the missing information so we can properly sign you up for this event.

CODE Presents: Improving String Handling Performance in C#


A string is an immutable type, which means that once you have created a string object, you cannot change it in any way. When you change or modify a string object, a new instance is created. There are several ways to overcome this performance issue. This session talks about how strings are represented in the CLR memory, the performance challenges you would often encounter when working with strings and how to fix them in C#. The following points are covered: 1. Understanding the CLR A. How are strings represented in memory? B. Introduction to strings in C# C. Strings in C#: The performance pitfalls 2. Improving string handling performance A. Fast string allocations B. String interning C. Using StringBuilders D. Reducing allocations a. String.Create b. Span<T> c. Memory<T> 3. Benchmarking performance using BenchmarkDotNet 4. Conclusion

CODE Training

Attendee Information

Please provide information about the attendee you are signing up:

Address

Newsletters and Notifications

Sign me up for CODE's HTML newsletters with tons of free articles.

Send me news about more events, seminars, and training.

Price Information

This event is free.