static void Main(string[] args) { Builder builder = new ConcreteBuilder(); Directory directory = new Directory(builder); directory.Construct(); House product = builder.GetResult(); Console.WriteLine(new string('_', 30)); product.Show(); }
static void Main(string[] args) { Builder builder = new ConcreteBuilder(); Foreman foreman = new Foreman(builder); foreman.Construct(); House house = builder.GetHouse(); Console.ReadKey(); }