Skip to main content

Asynchrony

  • Chapter
Expert C# 5.0
  • 2015 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics