Difference between C++ reference type argument passing and C#'s ref?
<p>I always thought they were about the same thing but someone pointed me out in one of my answers that such ain't quite true.</p>

<p>Edit: <a href="http://stackoverflow.com/questions/838117/ref-keyword-and-appdomains/838152#838152">Here</a> is what I said and the comment I got.
Edit2: 
What's the difference between C++'s:</p>

<pre><code>public: void foo(int&amp; bar);
</code></pre>

<p>and C#'s</p>

<pre><code>public void foo(ref int bar){

}
</code></pre>
