VOOZH about

URL: https://www.geeksforgeeks.org/c-sharp/c-sharp-threadthreadstart-constructor/

⇱ C# | Thread(ThreadStart) Constructor - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

C# | Thread(ThreadStart) Constructor

Last Updated : 11 Jul, 2025
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:
Comment

Explore