How Stream.Read writes/accesses to buffer parameter without passing ref keyword?
<p>Just wondering how It could be done and I'm at a point where I am implementing the <code>stream.Read</code> method. Am I missing something or there is just a <code>ref</code> keyword missing or what?</p>

<pre><code>private void Form1_Load(object sender, EventArgs e)
{
    byte[] ex = new byte[1] { 0 };
    MessageBox.Show(ex[0].ToString());
    ok(ex);
    MessageBox.Show(ex[0].ToString());
}

private int ok(byte[] asd)
{
    asd = new byte[1] { 255 };
    return 1;
}

//first result: 0
//second result: 0
</code></pre>
