 <p>In C# depending on how the class is used, you could define one class within the scope of the other.</p> <pre><code>public class CBar { CBar() { m_pFoo = new CFoo(); } CFoo m_pFoo; private class CFoo { CFoo() { // Do stuff } } } </code></pre>