示例#1
0
        public static void Main()
        {
            var b1 = new Sourdough();
            var b2 = new TwelveGrain();
            var b3 = new WholeWheat();

            b1.Make();
            b2.Make();
            b3.Make();
        }
        static void Main(string[] args)
        {
            Sourdough sourdough = new Sourdough();

            sourdough.Make();

            TwelveGrain twelveGrain = new TwelveGrain();

            twelveGrain.Make();

            WholeWheat wholeWheat = new WholeWheat();

            wholeWheat.Make();
        }