If you compare the code in Listing 1 with the program output in Figure 2,
you’ll see that not a whole lot is going on. The first thing that happens
after the initial WriteLine() statement is an instantiation of the
class UploadContent. Then we create the required background thread
(called backgroundThread). We give this thread a name
("Worker") and start the thread. At this point we display the
MessageBox shown in Figure 2.

Let’s take a step back and look at the code inside the
backgroundThread entity.