What is the difference between ref and out parameters in .NET? What are the situations where one can be more useful than the other? What would be a code snippet where one can be used and another can’t?

17 Answers
17

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *