GithubHelp home page GithubHelp logo

lab07-collections's Introduction

cf 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

Directions

  • 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

ReadMe

  • 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?

Rubric

  • 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

lab07-collections's People

Contributors

geopirate avatar aiverson1011 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.