sanjeev pandey

sanjeev pandey

  • NA
  • 20
  • 9k

passing parameters in C#

May 15 2013 7:37 AM
What i knew about 'out' parameter in c# is that if we want to  return more than one from a single routine. But we can use  'ref'  to return more than one from a single  routine.Ofcourse  ' out ' parameter also passed as  reference variable. Then what is the need of  'OUT' ? where exactly we need 'out'? Please explain with real time situation.

Answers (1)