Examveda

Which of the following statements are correct?

A. C SHARP allows a function to have arguments with default values

B. C SHARP allows a function to have variable number of arguments

C. Params are used to specify the syntax for a function having arguments

D. Omitting the return value type in method definition results into an exception

Answer: Option B


Join The Discussion

Related Questions on Arrays and Strings in C Sharp