This is a simple console application that allows users to purchase types of vinyl in a virtual convenience store. It demonstrates the use of Object-Oriented Programming (OOP) principles in C#.
🛒 Features
List available products in the store. Check your account balance. Purchase products using your balance. View your shopping cart. Get information about a product.
💡 Usage
Run the application. Enter your first name when prompted. Choose from the following options: List Products (1): View the available products in the store. Show my balance (2): Check your account balance. Purchase (3): Buy a product by entering its number. View Cart (4): See the products in your shopping cart. Exit (5): Leave the application.
📦 Products
The store offers a variety of products with different prices and stock quantities.
👤 User
Each user has a name and an initial balance. Your balance decreases with each purchase.
💰 Balance
Make sure you have enough balance to make a purchase. If not, you'll receive an error message.
🔥 Out of Stock
Products with zero stock are marked as "Item Sold Out" and cannot be purchased.
🔄 Continuous Shopping
You can perform multiple actions in one session. The program will ask if you want to continue after each action.
To run this application locally, make sure you have .NET installed on your machine.
Clone this repository to your local machine. Open a terminal or command prompt and navigate to the project directory. Run the following command to start the application:
Contributions are welcome! Feel free to open an issue or submit a pull request if you have any improvements or suggestions for this project.