Exemple #1
0
        static void Main(string[] args)
        {
            Dialer  dialer  = new Dialer();
            Builder builder = new CarBuilder();

            dialer.Construct(builder);
            Product product = builder.Get();

            product.Show();
            Console.ReadKey();
        }
Exemple #2
0
 static void Main(string[] args)
 {
     Dialer dialer = new Dialer();
     Builder builder= new CarBuilder();
     dialer.Construct(builder);
     Product product = builder.Get();
     product.Show();
     Console.ReadKey();
 }