Пример #1
0
        private void SomeDnaModyfication()
        {
            Console.WriteLine("Changing Andrzej DNA in progress");

            for (int i = 0; i < 1000000; i++)
            {
                var aa = new ZooFactory();
                //Thread.Sleep(2000);
            }
        }
Пример #2
0
 public ZooFactoryA(ZooFactory zooFactory)
 {
     this.ZooFactory = zooFactory;
 }