Abstract class as output
<p>if I have a method in an abstract class:</p>

<pre><code>public virtual DoSomething(out MyBase base1){}
</code></pre>

<p>but in my derived class I need to use the method from a class derived from MyBase I would need something like:</p>

<pre><code>public override DoSomething(out MyBaseCustom base1){}
</code></pre>

<p>What is the correct approach to get this functionality? </p>