Back to Basics - What is the difference between Ref and Out Keyword in C#?

added by DotNetKicks
11/17/2017 2:27:51 PM

2 Kicks, 202 Views

Continuing with the Back to Basics series, here is another common and frequently asked question. What is the difference between Ref & Out C#? or When should we use ref over out? We used it often, and we know both ref and out parameters are used to pass arguments within methods.


0 comments