示例#1
0
        private int GetIndice(Cocina c)
        {
            int indice = -1;

            for (int i = 0; i < this._lista.Count; i++)
            {
                if (this._lista[i] == c)
                {
                    indice = i;
                    break;
                }
            }
            return(indice);
        }
示例#2
0
 public bool Remover(Cocina c)
 {
     return(this - c);
 }
示例#3
0
 public bool Agregar(Cocina c)
 {
     return(this + c);
 }