Open In App

C# | Thread(ThreadStart) Constructor

Last Updated : 11 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report
Thread(ThreadStart) Constructor is used to initialize a new instance of a Thread class. This constructor will give ArgumentNullException if the value of the parameter is null. Syntax:
public Thread(ThreadStart start);
Here, ThreadStart is a delegate which represents a method to be invoked when this thread begins executing. Below programs illustrate the use of Thread(ThreadStart) Constructor: Example 1:
Output:
Number is :
0
1
2
3
Example 2:
Output:
HELLO...!!
HELLO...!!
HELLO...!!
Reference:

Similar Reads