What is the difference between ref and out
I'm new to C# and would like to know the difference between ref and out.
-Mike
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
AdministratorRank #675 · 3.6K reputationPosted Feb 13, 2003, 12:12 PM EST
AdministratorRank #675 · 3.6K reputationPosted Feb 19, 2003, 7:48 AM EST
prasad.narwadkar7 reputationPosted Dec 2, 2003, 11:35 PM EST
jhtchina12 reputationPosted Dec 29, 2004, 8:16 PM EST
alobiuc168 reputationPosted Dec 31, 2004, 9:51 AM EST
bilnaadRank #2,169 · 655 reputationPosted Jan 1, 2005, 1:11 PM EST