Here is source code of the C# Program to Create a Simple Thread. The C# program is successfully compiled and executed with Microsoft Visual Studio. The program output is also shown below.
* C# Program to Create a Simple Thread
public void WorkThreadFunction()
for (int i = 0; i < 5; i++)
public static void Main()
program pg = new program();
Thread thread = new Thread(new ThreadStart(pg.WorkThreadFunction));
Here is the output of the C# Program:
Simple Thread Simple Thread Simple Thread Simple Thread Simple Thread
Sanfoundry Global Education & Learning Series – 1000 C# Programs.
If you liked this C# Program, kindly share, recommend or like below!