Esempio n. 1
0
        private int GetIndice(Cocina c)
        {
            int retorno = -1;
            int tam;
            int i;

            tam = this._lista.Count;

            for (i = 0; i < tam; i++)
            {
                if (this._lista[i] == c)
                {
                    retorno = i;
                    break;
                }
            }
            return(retorno);
        }
Esempio n. 2
0
 public bool Remover(Cocina c)
 {
     return(this - c);
 }
Esempio n. 3
0
 public bool Agregar(Cocina c)
 {
     return(this + c);
 }