Question: Exercise 2: Define a Laptop Class with Properties Create a class named Laptop using auto-implemented properties for the following: Brand of the laptop Type of
Exercise 2: Define a Laptop Class with Properties
Create a class named Laptop using auto-implemented properties for the following:
- Brand of the laptop
- Type of processor
- Amount of RAM
Then:
- In the Main method, create a Laptop object and set values for its properties.
- Print the values to the console.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
