title: Loop through all classes in a given namespace and create an object for each?
body: <p>Is it possible to loop through each class in a namespace and initialize an object for each class?</p>
  
  <p>For instance, I want to loop through all classes in the Test.POS namespace, create an object for each class, and call the <code>runImportProcess</code> method on each object.</p>
  
  <p>I know that I can loop through a namespace like so:</p>
  
  <pre><code>Type[] typelist = GetTypesInNamespace(Assembly.GetExecutingAssembly(), 
                                        "Test.POS");
  
  foreach (Type t in typelist)
  {
      Console.WriteLine(t.Name);
  }
  </code></pre>
  
  <p>I'm not sure if it's possible to use this <code>t</code> variable to accomplish what I want.  Any insight for a novice?</p>