Esempio n. 1
0
        static void Main(string[] args)
        {
            BuilderDirector director;

            director = new BuilderDirector((new HighSpeedNotebook()));
            NotebookProduct highSpeedNotebook = director.BuildNotebook();

            PrintProductDetail(highSpeedNotebook);

            director = new BuilderDirector((new StandartNotebook()));
            NotebookProduct standartSpeedNotebook = director.BuildNotebook();

            PrintProductDetail(standartSpeedNotebook);

            Console.ReadLine();
        }