コード例 #1
0
 public void AddContact(string name, string number)
 {
     _contacts.Add(new Contact(name, number));
     StoreContact.saveObjectToFile(_contacts);
 }
コード例 #2
0
 public ContactManager()
 {
     _contacts = StoreContact.getObjectFromFile();
 }