Thread count problem in C# multithreading

Interview question: How many total threads are there in below C# multithreading program?   static void Main(string[] args) { Thread T1 = new Thread(foo); Thread T2 = new Thread(foo); T1.Start(); T2.Start(); } static void foo() { // some operation }   Answer: Total 3 threads are there in the above C# program. We can see … Read more Thread count problem in C# multithreading