The code I show will work with C# in both .Net Framework and .Net Core.
What is multi threading used for?
How to do old-style multi-threading and new style threading with the TPL for Tasks and async\await\WhenAll. I also show how to lock a variable for concurrent access and how to use the threadpool and lambda expressions.
I also discuss number of cores vs number of simultaneous threads.
Please support me on Patreon: www.patreon.com/dkomen