When to use ValueTask instead of Task and save precious memory in C#
Nick Chapsas Nick Chapsas
307K subscribers
49,688 views
2K

 Published On Apr 8, 2021

Become a Patreon and get source code access:   / nickchapsas  
Check out my courses: https://dometrain.com

Hello everybody I'm Nick and in this video I show you how you can use ValueTask instead of Task in your .NET code and save memory. I will talk about one of the most common usecases that pretty much everyone can benefit from and release pressure from the garbage collector and the heap.

Understanding the Whys, Whats, and Whens of ValueTask: https://devblogs.microsoft.com/dotnet...

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

#dotnet #await #async

show more

Share/Embed