Select the correct 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 above mentioned
Answer:A
Select the correct 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 above mentioned
Explanation: None.