Asynchronous Programming with C# 5.0

August 12th, 2013 | Posted by Vidya Vrat in .NET | C# - (0 Comments)

Because a synchronous method call can create a delay in program flow which turns out to be bad user experience. Hence, an asynchronous approach will be better. Asynchronous method call will return immediately so that the program can perform other operations while the called method completes its work in certain situations.

The asynchronous methods behavior is different than synchronous ones. You call them; they start executing, but return the control back to the thread which called them in no time; while they continue to execute on different thread.

In general, asynchronous programming makes sense in two cases as:
• If you are creating a UI intensive application in which user experience is prime concern. In this case, an asynchronous call allows the user interface to remain responsive. Unlike shown in Figure 1-1.

• If you have other complex or expensive computational work to do, you can continue; interacting with application UI while waiting for the response back from long running task.  Read Full Article Here…

Event Type: Webinar
Event Date/Time: July 21 Sunday 8.00 P.M – 9.30 P.M.
Registration Details Click Here

Topics to be covered.
* Evolution of C# Language
* What is Synchronous
* Demo
* What is Asynchronous
* Asynchronous Patterns
* Demo
* Side-by-Side Comparisons

I spoke on C# 5.0 Async programming in a

C# Corner MVP Summit here is my session Recording.

YouTube –