.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? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -