Examveda

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

A. To specify that a method can accept only one argument

B. To specify that a method can accept no arguments

C. To specify that a method can accept a variable number of arguments

D. To specify that a method can accept a fixed number of arguments

Answer: Option C


Join The Discussion

Related Questions on Functions and Methods in C Sharp