Async Feature from C# 5

Tutorial notes and examples are provided on the Async feature introduced in C# 5. Topics include introduction of Async feature; Asynchronous operations from the HttpClient class; 'await' expression examples; 'async' function examples.

What Is Async Feature?

GetStringAsync() Method in HttpClient Class

GetStringAsync() Method Example Program

Watching Asynchronous Operation Execution Status

"await" Expression and Child Thread

"await" Expression Thread Example

"async" Function Example

Conclusions:

Table of Contents

 About This Book

 Introduction of C# (C Sharp)

 Data Type and Variables

 Logical Expressions and Conditional Statements

 Arrays and Loop Statements

 Data Type Features

 Floating-Point Data Types

 Passing Parameters to Methods

 Execution Environment Class

 Visual C# 2010 Express Edition

 Class Features

 C# Compiler and Intermediate Language

 Compiling C# Source Code Files

 MSBuild - Microsoft Build Engine

 Memory Usages of Processes

 Multithreading in C#

Async Feature from C# 5

 System.IO.FileInfo Class

 System.Diagnostics.FileVersionInfo Class

 WPF - Windows Presentation Foundation

 Partial Classes and Partial Methods

 Outdated Tutorials

 References

 PDF Printing Version