ASSIGNMENT 1
Question 1. (Circumference) (40 points) Write a C# staticfunction that has one parameter (named radius) and a returnstatement that returns the circumference of a circle. This functionwill perform the following operations:
– Define a local variable named localRadius and a local variablenamed circumference;
– Assign the value of radius to localRadius;
– Calculate the circumference of the circle, that is,circumference = 2*?*localRadius ;
– Return the circumference in its return statement.
In the main function, define two variables (named mradius andmcircumference). The main function calls the function above andpass mradius to the function. When calling the function, you needto use pass-by-reference. After the function
PayPal Gateway not configured
PayPal Gateway not configured