SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

.NET Threading & Asynchronous

» Start this Course
(Practice similar questions for free)
Question:

What is the difference between a thread and a process in C#?

Author: Lock Huynh



Answer:

A process is an independent program in execution, with its own memory space, while a thread is a smaller unit of execution within a process. Threads within the same process share the same memory space and can communicate with each other more easily, which makes threads more efficient for tasks that require frequent communication or shared data.


0 / 5  (0 ratings)

1 answer(s) in total