Implements the IEnumerable interface method.
An instance IEnumerator object
This method ensures that the PhoneBook object can be enumerated using the foreach syntax.
List<PhoneBookEntry> GetPhoneBookEntries(PhoneBook pb) { var list = new List<PhoneBookEntry>(); foreach(PhoneBookEntry entry in pb) list.Add(entry); return list; }
PhoneBook Class | Resco.Phone.SIM Namespace