![]() |
VOOZH | about |
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 3Example 2:
HELLO...!! HELLO...!! HELLO...!!Reference: