예제 #1
0
        public static string Mostrar(Tempera tempera)
        {
            string retorno = "";

            if (!Equals(tempera, null))
            {
                retorno = tempera.Mostrar();
            }

            return(retorno);
        }
예제 #2
0
        private string Mostrar()
        {
            string retorno = "TEMPERAS MAXIMA:" + this._cantidadMaxima.ToString() + "\n";

            foreach (Tempera tempera in this._temperas)
            {
                if (tempera != null)
                {
                    retorno += Tempera.Mostrar(tempera);
                }
            }
            return(retorno);
        }