adspace
Explain the difference between task and thread in .net?
Answer Posted / Usha Singh
In .NET, a Thread represents a single sequence of execution within an application, while a Task represents a handle to a discrete unit of work. Tasks help simplify asynchronous programming by encapsulating the underlying threads, eliminating the need for developers to manually manage thread pools and synchronization primitives.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers