.net - ref vs out in C# -
possible duplicate:
difference between ref , out parameters in .net
when use ref
, when use out
? difference between both ? how , used ?
please share example showing difference between both ref
, out
.
- thanks.
there's number of examples online.
a quick google search found this: http://www.c-sharpcorner.com/uploadfile/mahesh/out_and_ref11112005002102am/out_and_ref.aspx
Comments
Post a Comment