Explore topic-wise MCQs in C# Questions & Answers Reference Variables and Assignment.

This section includes 1 Mcqs, each offering curated multiple-choice questions to sharpen your C# Questions & Answers Reference Variables and Assignment knowledge and support exam preparation. Choose a topic below to get started.

1.

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» B. The 'ref' keyword causes arguments to be passed by reference