Question: Q1. Create a C# class named ClassA that will have 2 methods as described below: The 1st method is named funA that is an instance

Q1. Create a C# class named ClassA that will have 2 methods as described below: The 1st method is named funA that is an instance method and has two parameters and a returned value. The data type of the parameters and the returned type is double Two parameters represent the width and length of a rectangle. The method funA will calculate the area of a rectangle and return the area as the returned value The 2nd method is named funcC that is an instance method and has one parameter and has no returned value. The data type of the parameter is double. The parameter represents the radius of a circle. After calculating the area of a circle, the method funC will print the area In the main method of this class, create an instance of this class and call funA and funC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
