Can one process run multiple threads in C#

(Last Updated On: February 26, 2019)

Answer: Yes, in a single process we execute multiple threads in C# multithreading program. For example in below program, main () is a process that can create multiple child threads. We have created and run two threads t1 and t2.

 

 

NOTES: This is very basic and simple C# multithreading interview question that is generally asked to a fresher.

Tips: While answering this type of simple question, try to answer your more knowledge yourself without further question on threading. For example, you can answer as  lock can be used in threadFunc()stated above to show synchronization and lock knowledge.

You can follow other C# interview question – need of synchronization in C# multi-threading .