Difference
What is the difference between ref and out parameters
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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 attend4days leftRegister
Pravin MoreRank #1,419 · 1.2K reputationPosted Sep 26, 2011, 8:33 PM EDT
Difference i know is for Ref parameter it need to initialize before passing to function where out need not initilize....
here is good article of one of our member on it..............
http://www.dotnetfunda.com/forums/thread3303-difference-between-ref-and-out-parameters-in-csharp.aspx
Thanx,Hope it will help you.
Pravin.
Prabhu RajaRank #861 · 2.6K reputationPosted Sep 26, 2011, 9:47 PM EDT
For more reference : Click Here
Thank You
Sam HobbsRank #107 · 20.5K reputationPosted Sep 27, 2011, 11:24 AM EDT