View Code? Open in Web Editor
NEW
This project forked from codefellows-seattle-aspdotnet-401d1/lab07-collections
lab07-collections's Introduction
Lab 7 : Collections Practice
To Submit this Assignment
- fork this repository
- write all of your code in a directory named
lab-#
; + <your name>
e.g. lab05-amanda
- push to your repository
- submit a pull request to this repository
- submit a link to your PR in canvas
- Create a custom generic list for an e-commerce store to hold their inventory of products
- Hint: Your generic collection should be Inventory<Product>
- Include an enum in your Product
- Make sure the generic has the functionality to use a foreach loop.
- Your generic collection sould
Add()
, Remove()
items in the collection
- Stretch - if there is time, make it so you can
ViewAll
and create a method to output all items to the console
- Add at least 10 items to your List, and output them to the console.
- Add some items through the
Add()
Method, and others through a collection initializer
- Your readme should include the following information:
- How long did it take you to complete this assignment?
- What did you struggle with? Why? How did you solve?
- What did you learn during this assignment?
- What resources did you utilize for this assingment?
- 3pts: Application runs without any errors
- 3pts: Generic List contains required methods to add, remove, and iterate
- 2pts: Enum properly used and formatted
- 1pt: Readme included with answers to questions
- 1pt: Naming conventions follow industry standard