| Mark Pearl |
I have dabbled in async programming in the past but never put any real effort into understanding how things worked. With the new async features in .Net 5 I thought I would give it a look. Here is a quick example of one of the features you can expect in the new framework and how it can make our life easier. The best way to illustrate this is to make a simple WPF application as follows… In the past If we had the following small WPF application with just one window / form…
href="http://geekswithblogs.net/images/geekswithblogs_net/MarkPearl/Windows-Live-Writer/Async-in-C_5BA2/AsyncExample%20(Running)%20-%20Microsoft%20Visual%20Studio%20(Administrator)_2011-10-11_07-13-09_2.png"> The XAML code for the window And the code behind for the window… using System; using System.Threading; using System.Windows; namespace AsyncExample { ...(Read whole news on source site)




