CSharp examples for Thread Asynchronous:Async
await async task
using System;/*from w w w . j a v a 2 s.c om*/ using System.Threading.Tasks; using System.IO; class Program { static void Main(string[] args) { Console.ReadKey(); } private static async Task<bool> getBoolOldWayAsync() { await Task.Delay(3000); return false; } }