Beispiel #1
0
        static void Main(string[] args)
        {
            var director = new Director(
                new EmployeeBuilder().SetAge(10).SetFirstName("David").SetLastName("Coperfield"));

            director.CreateEmployee();
            var emp = director.GetEmployee();

            Console.WriteLine(emp.ToString());
            Console.ReadKey();
        }