MCQs>IT & Programming>C#>Which of the following statements is correct about the ref and out keywords?
C# MCQs
Which of the following statements is correct about the ref and out keywords?
Answer
Correct Answer: ref tells the compiler that the object is initialized before entering the function, while out tells the compiler that the object will be initialized inside the function.
Explanation:
Note: This Question is unanswered, help us to find answer for this one