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:
But after this, the list is still empty...Code:MyClass NewClass = new MyClass(); System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(NewClass.populateList)); t.Start();
what am I doing wrong?
thanks!!
![]()




Reply With Quote