Exemplo n.º 1
0
        public PhonebookEntry ReturnInfo()
        {
            PhonebookEntry ourEntry = this.newEntry;

            Reset();
            return(ourEntry);
        }
Exemplo n.º 2
0
 public void AddMainInfo(string surname, string name, string phoneNumber, string country)
 {
     this.newEntry = new PhonebookEntry(surname, name, phoneNumber, country);
 }
Exemplo n.º 3
0
 public void Reset()
 {
     this.newEntry = new PhonebookEntry();
 }