.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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

c# - Asterisk click to call -