Question: Exercise 9 - 3 : Dictionary Create a form named VendorsDictionary 2 that allows the user to find and display the zip code and phone
Exercise : Dictionary
Create a form named VendorsDictionary that allows the user to find and display the zip code and phone number for any specified vendor, as follows:
Read each vendor record from the Vendor.txt file Figure split it and store it in an array. Copy the zip code and phone into another array you may use Array.Copy Add the name as the key, and the array of zip code and phone number as the value into a Dictionary named vendors. Add the name to a sorted ComboBox.
When the user selects a Vendor name from the ComboBox, find and display the name and corresponding zip code and phone number in a ListBox.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
