Visual C#: Searching & Sorting C# Arrays. Part 1 – C# Loading Text File

Share it with your friends Like

Thanks! Share it with your friends!


In this assignment we will code C# arrays declarations, load parallel arrays, look up array values, and display the content of the arrays.
Then we will sort and search the parallel arrays.
Customer information (id, name, discount code) is stored in a data file and will be loaded into three parallel arrays. The discount code will then be looked up in a discount code array to get the discount rate. The appropriate discount rate should then be loaded into the 4th parallel array. The four parallel arrays should be able to hold up to 10 customers. The values in the four parallel arrays will be displayed in list boxes so that manipulation of the data can be displayed.

Download Source Files: CS12


Write a comment