Question: IN c# : Write a program to maintain a generic collection of Customer objects in memory. The Customer object should contain the following properties: Name
IN c# : Write a program to maintain a generic collection of Customer objects in memory. The Customer object should contain the following properties:
Name
Address
TotalPurchases
Prompt the user for these values and populate a Customer object that will then be added to a generic collection.
Hint: use a List
Once the user has finished adding all the customers, the program should print all customers along with their information (name, address and total purchase) sorted by TotalPurchases in an ascending order.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
