Exemplo n.º 1
0
        public void AddAbonent(string name, string phoneNumber)
        {
            Abonent abonent = new Abonent(name, phoneNumber);

            abonentList.Add(abonent);
        }
Exemplo n.º 2
0
 public int CompareAbonents(Abonent first, Abonent second)
 {
     return(string.Compare(first.Name, second.Name, true));
 }