What is the difference between ref and out
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/135234/difference-between-ref-and-out-parameters-in-net">Difference between ref and out parameters in .NET</a>  </p>
</blockquote>



<p>I know that ref is used for passing the changed value of the variable outside of the function,
but how is it different from out?</p>
