Пример #1
0
        static void Main(string[] args)
        {
            BigOrder bo = new BigOrder();
            Order    o  = new Order();
            NewOrder no = new NewOrder();

            for (int i = 0; i < 100; i++)
            {
                Task.Factory.StartNew(() => no.PublishPerson());
                Thread.Sleep(100);
            }

            Console.ReadKey();
        }