Thread is a built in class in .NET to allow threading.
firstThread is a new thread you are creating.
new Thread (new ThreadStart (Method1))
Creates a new instance of the thread.The code that is to be executed is method 'Method1'. The new thread cannot directly run this method so we have to create a delegate.
new ThreadStart (Method1)
ThreadStart is that delegate, we create a new instance of it and supply it to the thread.
After this you have to call Start to run the thread.
firstThread.Start();
You might want to check out this .
lighthead
Junior Poster in Training
64 posts since Jan 2008
Reputation Points: 72
Solved Threads: 15
serkan sendur
Postaholic
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127