Examveda

Select the wrong statement about 'ref' keyword in C#?

A. References can be called recursively

B. The 'ref' keyword causes arguments to be passed by reference

C. When 'ref' are used, any changes made to parameters in method will be reflected in variable when control is passed back to calling method

D. All of the mentioned

Answer: Option A


Join The Discussion

Related Questions on Classes and Objects in C Sharp