Examveda

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

A. To specify that a parameter is optional

B. To pass a parameter by reference

C. To specify that a parameter is an output parameter

D. To specify that a parameter is constant

Answer: Option C


Join The Discussion

Related Questions on Functions and Methods in C Sharp