C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,216 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I always use delegates to make my functions asynchronous and wonder if there is better way to achieve asynchronous work. I know async/await or even AsyncEvent (like SocketAsyncEventArgs).
My question is : what is the difference between those three ways ? And why choosing one over the others ?
I would recommend you read the following post.
How I see it, which one to select is dependent on the task at hand, not one is going to fit all task.