dekelc
Nov 23rd, 2006, 12:51 PM
Hello you guys!!
I have a class, with a list in it, and a method to papulate that list.
I want to perform the population of the list in another thread.
to do this, I use this code:
MyClass NewClass = new MyClass();
System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(NewClass.populateList));
t.Start();
But after this, the list is still empty...
what am I doing wrong?
thanks!!
:wave:
I have a class, with a list in it, and a method to papulate that list.
I want to perform the population of the list in another thread.
to do this, I use this code:
MyClass NewClass = new MyClass();
System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(NewClass.populateList));
t.Start();
But after this, the list is still empty...
what am I doing wrong?
thanks!!
:wave: