示例#1
0
        static void Main(string[] args)
        {
            Sourdough sourdough = new Sourdough();

            sourdough.Make();

            TwelveGrain twelveGrain = new TwelveGrain();

            twelveGrain.Make();

            WholeWheat wholeWheat = new WholeWheat();

            wholeWheat.Make();

            Console.ReadKey();
        }
        public static void Main(string[] args)
        {
            Bread twelveGrain = new TwelveGrain();

            twelveGrain.Make();
            Console.WriteLine();

            Bread sourdough = new TwelveGrain();

            sourdough.Make();
            Console.WriteLine();

            Bread wholeWheat = new TwelveGrain();

            wholeWheat.Make();
        }
示例#3
0
        public static void Main()
        {
            Sourdough sourdoughBread = new Sourdough();

            sourdoughBread.Make();

            Console.WriteLine();

            TwelveGrain twelveGrainBread = new TwelveGrain();

            twelveGrainBread.Make();

            Console.WriteLine();

            WholeWheat wholeWheatBread = new WholeWheat();

            wholeWheatBread.Make();
        }