A lab to follow the Command Design Pattern while doing your code in C#.
Design a system with different functionalities like adding items to a cart or placing an order, utilizing classes such as ICommand, AddToCartCommand, PlaceOrderCommand, ShoppingCart, and Order.
Implement the Command pattern to represent these functionalities as separate objects (commands) that can be executed, incorporating classes like CommandInvoker and Program.
Lab Objective:
Upon completion of this lab, you will be able to:
Understand the command design pattern.
Implementing functional separation in a shopping system.
Creating executable commands to do various system activities.
Prerequisites
You should install the following software on your machine: