Question: C# With Visual Studio Create a library called MyMath Contains a class called Rectangle This class will contain 2 private floats . o Width o
C# With Visual Studio

Create a library called MyMath Contains a class called Rectangle This class will contain 2 private floats . o Width o Height The class will have 2 properties to set and get these values . The class will contain 2 more properties (read only) o Perimeter Will calculate and return a float of the perimeter of the rectangle o Area Will calculate and return a float of the area of the rectangle * Compile this library Create a new project Add the MyMath library to your project * Use the library to create an object of type rectangle o (Rectangle myrect- new Rectangle):) Set its width and height and have it output the perimeter o myrect.width-
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
