Assume you have declared a method as follows: public static double DisplayData(string name = "XX", double amount = 10.0) Which of the following is an illegal method call?
a. DisplayData(name : "Albert");
b. DisplayData(amount : 200, name : "Albert");
c. DisplayData(amount : 900.00);
d. All of these are legal.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here