Esempio n. 1
0
        private int GetIndice(Cocina c)
        {
            int indice = 0;

            foreach (Cocina x in this._lista)
            {
                if (x == c)
                {
                    return(indice);
                }
                indice++;
            }
            return(-1);
        }
Esempio n. 2
0
 public bool Remover(Cocina c)
 {
     return(this - c);
 }
Esempio n. 3
0
 public bool Agregar(Cocina c)
 {
     return(this + c);
 }