Ref and Out (The Inside Story)

added by akhilmittal20
3/9/2012 11:10:38 PM


One might incorporate n number of methods to return or pass parameters while method calling. Most of the time a developer try to escape using c# feature of parameter passing by reference. Had he know the power of ref and out, a developer will certainly make full use of this feature of parameter passing. My effort in this article would be to make this understanding simpler and focus on internal logic of ref and out.