title: Is there a way to abbreviate a custom class type declaration?
body: <p>Is there a way to create an abbreviation, or custom class name, for:</p>
  
  <pre><code>Dictionary&lt;string,Dictionary&lt;int,myClass&gt;&gt;
  </code></pre>
  
  <p>I can create</p>
  
  <pre><code>class DD
  {
     public Dictionary&lt;string,Dictionary&lt;int,myClass&gt;&gt; wDD;
  }
  </code></pre>
  
  <p>but then when I use it I have to say:</p>
  
  <pre><code>DD.wDD wrkVar = new DD.wDD();
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>DD wrkVar = new DD();
  </code></pre>
  
  <p>Is there a way to get <code>DD</code> to refer directly to </p>
  
  <pre><code>Dictionary&lt;string,Dictionary&lt;int,myClass&gt;&gt;
  </code></pre>
  
  <p>?</p>
  
  <p><strong>EDIT - showing solution based on responses below</strong></p>
  
  <p>I arrived at this, which works:</p>
  
  <pre><code>using DBDDict = 
  System.Collections.Generic.Dictionary&lt;string,    
  System.Collections.Generic.Dictionary&lt;int, DDRow&gt;&gt;;
  
  public class CustomClassTest
  {
      public static void Test4()
      {
          DDRow wrkRow = new DDRow();
          wrkRow.ColumnName = "ABC";
          Dictionary&lt;int, DDRow&gt; wrkRowD = new Dictionary&lt;int, DDRow&gt;();
          wrkRowD.Add(1, wrkRow);
          DBDDict wrkDD = new DBDDict();
          wrkDD.Add("key", wrkRowD);
  
      }
  }
  </code></pre>
  
  <p>AND, so does this, which is easier to work with (note the "using" is commented out).</p>
  
  <pre><code>//using DBDDict = System.Collections.Generic.Dictionary&lt;string, System.Collections.Generic.Dictionary&lt;int, DDRow&gt;&gt;;
  
      public class DD : Dictionary&lt;string, Dictionary&lt;int, DDRow&gt;&gt; {}
  
      public class CustomClassTest
      {
  
          public static void Test4()
          {
              DDRow wrkRow = new DDRow();
              wrkRow.ColumnName = "ABC";
              Dictionary&lt;int, DDRow&gt; wrkRowD = new Dictionary&lt;int, DDRow&gt;();
              wrkRowD.Add(1, wrkRow);
              DD wrkDD = new DD();
              wrkDD.Add("key", wrkRowD);
          }
      }
  </code></pre>