Examveda

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

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


Join The Discussion

Related Questions on Functions and Methods in C Sharp