C#: Returning a reference?
<p>I'm attempting to cache a proxy in a C# WCF program so I don't need to create it each time I process a message for a different client, so my aim is to write a function that returns a reference to the proxy.</p>

<p>I'm not fully conversant with C#'s return mechanisms versus "out" parameters versus "ref" parameters yet though, so was wondering if this will result in a reference to _interface being returned, or a copy, or some other behaviour.</p>

<pre><code>        public IInterface GetInterface
        {
            return _interface;
        }
</code></pre>
