![]() All three cases can now be executed from the main function for being able to compare the results. The main function gets a new section that calls the asynchronous C# 5.0 code. Then you are ready to test the new features. ![]() You will see the code necessary to make your synchronous code asynchronous and how simple and comprehensible it is done when using the new async / await language features!įor being able to develop the C# 5.0 version of the code you need to have the CTP October Release installed and to reference the “AsyncCtpLibrary.dll”. In this article I am going to explain how you could do it when using the latest C# 5.0 features that were released with the current CTP. I took an easy development example that calculates factorials for showing you how you may implement it in a synchronous and asynchronous C# 4.0 environment - a time consuming and not so easy task for the common developer. My last article introduced the new asynchronous features in C# 5.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |