Tag Archives: Ref vs Out

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

By | November 17, 2017

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. Though it’s a very common question, I… Read More »