What is the difference between ref & out parameters?

 Posted by Bharathi Cherukuri on 4/20/2012 | Category: C# Interview questions | Views: 1790 | Points: 40

An argument passed to a ref parameter must first be initialized.
When compared this to an out parameter, whose argument does not have to be explicitly initialized before being passed to an out parameter.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response