Question: Needs to be written in C# console app. Develop a C# project that implements the following class hierarchy. Add methods when needed. All classes shall
Needs to be written in C# console app.
Develop a C# project that implements the following class hierarchy. Add methods when needed. All classes shall have a constructor that sets the values for the data members. All classes shall have the public method cal_area() and cal_perimeter(). The results of the two functions cal_area() and cal_perimeter() Shall be stored as the protected members of Graph Object. Test the above class hierarchy by writing a driver program. The driver shall instantiate the following two objects
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
