Use C# programming. A software company is designing a piece of software that enables users to create buildings easier.

  • A building will have many rooms.
  • Each room will have a length, a width, and a height.
  • Rooms have types liked classroom or bedroom or bathroom, etc.
  • The software should be the functionally to add, remove, or clone a room.
  • Rooms are made from two main structures. Walls, and windows.
    • Walls have inside and outside colors.
    • Windows have and X and Y dimensions plus window type.
  • Furniture also must be included. The allowed furniture is the following. Couches, Chairs, and desks.
    • Couches have a color, a number of seats and price.
    • Charis, have a price and a "chair-type".
    • Desks has a price and a shape.

First design a UML diagram with inheritance and association included. - Implement OOP code for this description - Show the use in polymorphism (hint: create an abstract method "string getType()" that will return the type of Furniture "couch, chair, or desk" ). There is another method that you may want to figure out.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.