This is what I would do:
Create a new class: Contact, with three properties: Phone, Name, Address, and the rest of the code would be something like :
public void addNewPhoneBook(string name, string tel, string add)
{
var contact = new Contact(name, tel, add);
if (!phoneBook.ContainsKey(tel))
{
phoneBook.Add(tel, contact);
getDetails();
}
}
for getDetails ...
public void getDetails()
{
lvDetails.Items.Clear();
lvDetails.Items = phoneBook.Values;
}
I did not compile this code but I think it must work.
It is better to have a Dictionary instead of a Hashtable, your dictionary could be defined as
Dictionary<string, phoneBook> = new Dictionary<string, phoneBook>();