Examveda

Which of the following statements are correct about functions?

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

B. Redefining a method parameter in the method's body causes an exception

C. C# allows function to have arguments with default values

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

Answer: Option A


Join The Discussion

Related Questions on Classes and Objects in C Sharp