From the course: C# Hands-on Practice with Data-Structures

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Requirements for the inventory management system

Requirements for the inventory management system - C# Tutorial

From the course: C# Hands-on Practice with Data-Structures

Requirements for the inventory management system

Let's practice using dictionaries in a real application. In this project, we'll be using dictionaries to keep track of inventory for an Inventory Management System. We should be able to add new items to the inventory, with each item being uniquely identifiable with the productCode. This involves checking for existing productCodes to prevent duplicates and adding items only if they're unique. If an item is not unique, its stock should be updated to reflect the new quantity. We'll also want a way to remove items when they're purchased as well as a way to see all the items with their specific productCode, name, description, and quantity. By using dictionaries, we can implement this application taking advantage of their key-value pair structure to simplify inventory management.

Contents