Рет қаралды 70,193
Get tickets to NDC Oslo here: ndcoslo.com
Check out other NDC conferences here: ndcconferences.com/
Subscribe: bit.ly/ChapsasSub
Become a Patreon and get source code access: / 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: bit.ly/ChapsasGitHub
Follow me on Twitter: bit.ly/ChapsasTwitter
Connect on LinkedIn: bit.ly/ChapsasLinkedIn
Keep coding merch: keepcoding.shop
#csharp #dotnet #span