Пример #1
0
        static void Main(string[] args)
        {
            ChocolateBoiler test = ChocolateBoiler.GetBoiler();

            test.Fill();
            Task.Run(() => test.Boil());
            Thread.Sleep(2000);
            test.Boil();
            Console.WriteLine();
        }