Hi, I was writing a code in which I use two different classes; contact and phonebook. I want to declare an array of type contact in the phonebook class, but can't figure out how to do so. Is there a simple way to do it?
If Contact has two types of variables in it, string and int, can the myContact array have its first element to be a string and the second element to be an int?