While creating a sample Winforms application to demonstrate multithreading, I wrote the following code on the button click.
private void button1_Click(object