Abstract
A powerful new feature has been added for asynchronous programming in C# language 5.0. This new feature comes in the form of two new keywords—async and await—which are used to make the synchronous method asynchronous. When you use these two keyword in your method, the C# compiler performs a transformation of your method code to generate the appropriate code, such as stub method and state machine, to do the asynchronous operation behind the scenes. This new feature makes asynchronous programming much easier than the exiting asynchronous pattern used in .NET.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2013 Mohammad Rahman
About this chapter
Cite this chapter
Rahman, M. (2013). Asynchrony. In: Expert C# 5.0. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4861-3_14
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4861-3_14
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4860-6
Online ISBN: 978-1-4302-4861-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)