Vidyalelo
C# Programming · Q6

Functions and Methods in C Sharp

Programming · C# Programming · question 6

Q6

What is the purpose of the params keyword in C# method parameters?

A.
To specify that a method can accept a variable number of arguments
Answer
B.
To specify that a method can accept only one argument
C.
To specify that a method can accept no arguments
D.
To specify that a method can accept a fixed number of arguments

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board