Asynchronous Programming in c# using async await
async await keyword in c# with simple example. async await – basic example XAML <Window x:Class="AsyncAwait.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="async/await - mkumaran.net" Height="255" Width="331"> <StackPanel> <ListBox Name="lstBox" Height="200"/> <Button Name="btn" Content="Click" Click="btn_Click"/> </StackPanel> </Window> C# using System.Threading; using System.Threading.Tasks; using System.Windows; namespace AsyncAwait { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } private void btn_Click(object sender, RoutedEventArgs e) { lstBox.Items.Add("Click()"); Process1(); lstBox.Items.Add("Click() - completed"); } private async void Process1() { lstBox....