Rahils573
Mar 23rd, 2004, 09:55 AM
Hello everybody:
I am trying to identify the threads by using the GethashCode method. I am trying to store the value of the thread in a textbox.
But unable to display the value in the textbox.
I hope you will be able to guide me whats wrong...
Thanks,
K
for( int NumOfThds=1; NumOfThds <=100; NumOfThds++)// For loop for 100 threads
{
// tcpThd=new Thread(new ThreadStart(ClientProcess));
tcpThd.Start();
tcpThd.GetHashCode();
Sthread= tcpThd.GetHashCode()+ "\n";
Sthread=txtThreadCode.Text;
}
I am trying to identify the threads by using the GethashCode method. I am trying to store the value of the thread in a textbox.
But unable to display the value in the textbox.
I hope you will be able to guide me whats wrong...
Thanks,
K
for( int NumOfThds=1; NumOfThds <=100; NumOfThds++)// For loop for 100 threads
{
// tcpThd=new Thread(new ThreadStart(ClientProcess));
tcpThd.Start();
tcpThd.GetHashCode();
Sthread= tcpThd.GetHashCode()+ "\n";
Sthread=txtThreadCode.Text;
}