Thursday, October 13, 2016

#C# Why Task introduced in C#?

Why Task introduced in C#? .net framework provides System.Threading.Tasks.Task class to let you create threads and run them asynchronously. Queuing a work item to a thread pool is useful, but there is no way to know when the operation has finished and what the return value is.So that the reason Microsoft introduced the concept of Task. Task is an object that represents some work that should be...