static void Main(string[] args) { TufinTest test1; //single execution test1 = new TufinTest(); test1.RunTest(); test1.bonus(); /* * //Sequenced execution * for (int i = 0; i < 10; i++) * { * test1 = new TufinTest(i.ToString()); * test1.RunTest(); * } */ //parallel execution /* * for (int i = 0; i < 5; i++) * { * Thread thread = new Thread(ParalelExecution); * thread.Start(); * System.Threading.Thread.Sleep(10000); * } */ }
//for parallel execution public static void ParalelExecution() { TufinTest test1 = new TufinTest(); test1.RunTest(); }