Пример #1
0
        private static void Main()
        {
            var baguette = new Baguette();

            baguette.Make();
            Console.WriteLine();
            var wholeWheat = new WholeWheat();

            wholeWheat.Make();
            Console.WriteLine();
            var twelveGrain = new TwelveGrain();

            twelveGrain.Make();
        }
Пример #2
0
        static void Main(string[] args)
        {
            var sourdough = new Sourdough();

            sourdough.Make();

            var twelveGrain = new TwelveGrain();

            twelveGrain.Make();

            var wholeWheat = new WholeWheat();

            wholeWheat.Make();

            Console.ReadKey();
        }
Пример #3
0
        static void Main(string[] args)
        {
            try
            {
                Sourdough sourdough = new Sourdough();
                sourdough.Make();

                TwelveGrain twelveGrain = new TwelveGrain();
                twelveGrain.Make();

                WholeWheat wholeWheat = new WholeWheat();
                wholeWheat.Make();
            }
            finally
            {
                Console.ReadKey();
            }
        }