Exemplo n.º 1
0
        //string Build()
        //{
        //    _door.Build();
        //    _window.Build();
        //    _roof.Build();
        //    _wall.Build();

        //    return "Building a House...";
        //}

        public ArrayList Build()
        {
            //string strMensaje = string.Format("Trabajador", Environment.NewLine);

            ArrayList MyMessage = new ArrayList
            {
                _door.Build(),
                      _window.Build(),
                      _roof.Build(),
                      _wall.Build(),
                "¡Building a House! :D"
            };

            //string messaje = _door.Build() + _window.Build() + _roof.Build() + _wall.Build();

            //_door.Build();
            //_window.Build();
            //_roof.Build();
            //_wall.Build();

            return(MyMessage);
        }