Example #1
0
        private int GetIndice(Cocina c)
        {
            int indice = 0;

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