Top 10 C# / .NET Multithreading Interview Questions
Question 1. What is the difference between Threads and Tasks? Tasks are wrapper around Thread and ThreadPool classes. Below are some major differences between Threads and Tasks: Question 2. What are Interlocked functions? Interlocked functions in .NET are useful in multithreading programs to safely change the value of shared variables. By default C# variables …