Posts Tagged ‘Asynchronous’

Event-Based Asynchronous Pattern in .NET 4.5 and C# 2012

The method OnAsyncEventPattern makes use of the event-based asynchronous pattern. This pattern is implemented by the WebClient class and thus it can be directly used. This pattern defines a method with the suffix "Async". Therefore, for example, for the synchronous method DownloadString, the WebClient class offers the asynchronous variant DownloadStringAsync. Instead of defining a delegate […]

Tags: