Exemple #1
0
        static void Main(string[] args)
        {
            var car = new CarBuilderFacade()
                      .Info
                      .WithType("BWM")
                      .WithColor("Black")
                      .WithNumberOfDoors(5)
                      .Built
                      .InCity("Novi Pazar")
                      .AtAddress("Perfect address")
                      .Build();

            Console.WriteLine(car);
        }