Question: Implement the following in the .NET Console App. Code in C# Write the Mask class. A Mask has a color, a type (for kids, for
Implement the following in the .NET Console App.
Code in C#
Write the Mask class. A Mask has a color, a type (for kids, for adults) and a price.
a. Implement data fields using auto-implemented Properies
b. Include 3 constructors: default, the one that receives the Mask color, type and a price as input (utilize the Properties) and the Constructor that takes the Mask material (a String) as input. Test your class in the main method
c. Create 3 instances of the class using the Constructors you created.
d. Create one more Mask using an Object Initializer.
Dont forget to add comments to your program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
