Home > DeveloperSection > Interviews > What is the difference between ref & out parameters?

Posted on    September-19-2014 11:59 PM

 C# .NET  C# 
Ratings:
 1 Answer(s)
  744  View(s)
Rate this:

Anchal Kesharwani
Anchal Kesharwani

Total Post:15

Points:75
Posted on    September-19-2014 11:59 PM

 An argument passed as ref must be initialized before passing to the method whereas out parameter needs not to be initialized before passing to a method.


Don't want to miss updates? Please click the below button!

Follow MindStick