Beispiel #1
0
        public bool removerTel(Fones c)
        {
            bool podeRemover;

            podeRemover = (this.Fone.IndexOf(c) > -1);
            if (podeRemover)
            {
                this.Fone.RemoveAt(this.Fone.IndexOf(c));
            }
            return(podeRemover);
        }
Beispiel #2
0
 public void adicionarTel(Fones c)
 {
     this.Fone.Add(c);
 }