Skip to content

codefellows-seattle-dotnet-401d2/Lab07-CustomCollection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

cf Lab 7 : Collections Practice

To Submit this Assignment

  • fork this repository
  • create a new branch named lab01-; + <your name> e.g. lab06-amanda
  • write your code
  • push to your repository
  • submit a pull request to this repository
  • submit a link to your PR in canvas
  • Include a Readme.md (contents described below)

Directions

  • Create a custom generic list for an e-commerce store to hold an inventory of products
  • Include an enum in your Product (i.e. ProductType)
  • Make sure the generic has the functionality to use a foreach loop.
  • Your generic collection should include Add(), Remove() items in the collection
  • 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

Stretch

  • include an AtIndexOf method in your collection. Have it return the index of that item in the Collection.

ReadMe

A README is a module consumer's first -- and maybe only -- look into your creation. The consumer wants a module to fulfill their need, so you must explain exactly what need your module fills, and how effectively it does so.
Your job is to

  1. tell them what it is (with context)
  2. show them what it looks like in action
  3. show them how they use it
  4. tell them any other relevant details

This is your job. It's up to the module creator to prove that their work is a shining gem in the sea of slipshod modules. Since so many developers' eyes will find their way to your README before anything else, quality here is your public-facing measure of your work.



Refer to the sample-README in the class repo for an example.

Rubric

  • 7pts: Program meets all requirements described in Lab directions

  • 3pts: Code meets industry standards

  • Readme.md required for submission. Missing readme document and tests will result in a best score of 2/10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published