Пример #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();
        }
Пример #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();
 }