static void Main(string[] args) { DirtyPool.AbelShowExample(); Console.WriteLine("enter key to end"); Console.ReadLine(); }
public static void ShowExample() { DirtyPool dp = new DirtyPool(); dp.DoIt(); // Sleep long enough so not to kill the threads. Thread.Sleep(10000); }
public static void AbelShowExample() { List <string> list = new List <string>(); for (int i = 0; i < 100; i++) { list.Add("test" + i); } DirtyPool dp = new DirtyPool(); dp.IDList = list; dp.AbelTest(); // Sleep long enough so not to kill the threads. Thread.Sleep(10000); }