In C# code, please:
In this project, you will create your own online shopping store in a console application. You can choose different products to sell in your store (at least 8 products). You will create a product inventory text file.
The program will display two options at the beginning of the program: Customer and Manager.
Customer: If this is a new customer, the program will let the customer register with their information and assign a unique ID number to the new customer.
The customer will enter the customer ID every time when they are shopping in your store, and the program will keep track of the total amount the customer spends each time to determine the discount level. You can create your discount level rule.
The program has to keep track of the product inventory. If the customer selects a product that is out of stock, the program has to display a warning message and let the customer continue to shop.
After the customer finishes selecting the products, the program will calculate the subtotal, apply the discount, calculate the tax, and calculate the total. The program will display a receipt on the screen and save it to a text file with customer information (just like a receipt).
Manager: The manager option has to be password-protected. The program will give the manager two options:
1. Display the inventory: display all the product stock information.
2. Restock the products: add more stock for each product. You have to create different classes and utilize the inheritance features.
You have to use text files to keep all the information the program needs. You can check some online stores to get some ideas. Make sure your program does not end unexpectedly and let the user have the option to continue.
There can be 8 products in random order, just make sure to add the price of all items and calculate the discount level.
TV ($125), Controller ($60), Headset ($75), USB ($30), Phone ($200), Laptop ($150), Wireless Mouse ($80), Watch ($110)
Customer discount level: If the customer spends $500, they will get a 5% discount.
Customer discount level: If the customer spends $1000 or more, they will get a 10% discount.