|
|
Use of ref and out parameters in OOP | On this we discuss the usefulness of ref and out parameters in object-oriented programming. |
How useful are reference and output parameters in object-oriented programming? |
| How to handle the situation where two or more pieces of output is required from a method.
Notice that out parameters provides one out of several different solutions.
|
ref and out parameters are relatively rare in the C# standard libraries |
Read more about use of ref and out parameters in OOP in the text book version of this material. |