The best way to create a string in C# that you shouldn't use



The best way to create a string in C# that you shouldn't use

The best way to create a string in C# that you shouldn't use

Get tickets to NDC Oslo here: https://ndcoslo.com
Check out other NDC conferences here: https://ndcconferences.com/

Subscribe: http://bit.ly/ChapsasSub
Become a Patreon and get source code access: https://www.patreon.com/nickchapsas
This video is sponsored by NDC Conferences

Hello everybody I’m Nick and in this video I am going to talk about what is the best way to create a string in C# in terms of speed and memory allocation. We don’t just focus on creating the string itself, since that is easy enough but we are going to put it in context with a pretty common problem and see how this approach fixes the problem.

Timestamps
The problem – 0:00
The simple solution – 2:13
First optimization – 5:44
Second optimization – 7:32
The best way – 9:23

Don’t forget to comment, like and subscribe 🙂

Social Media:
Follow me on GitHub: http://bit.ly/ChapsasGitHub
Follow me on Twitter: http://bit.ly/ChapsasTwitter
Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn

Keep coding merch: https://keepcoding.shop

#csharp #dotnet #span

Comments are closed.