C# 5.0: Asynchronous Programming Made Easy
Where C# 3.0’s big theme was data access with LINQ, and C# 4.0 focused primarily on interoperability with dynamically typed objects and languages, C# 5.0 also has a major theme: asynchronous programming.
Why Asynchronous Programming Matters
Today’s applications are incredibly dependent on a lot of external services to get their job done. Think of various cloud services, social media, news feeds, and so on. However, the latency involved when using such services can pose problems with application responsiveness. Everyone reading this book will have experienced user interfaces that get stuck (hopefully temporarily), resulting in the dreaded “Not Responding” message in the title bar.
When accessing high-latency ...