title: Cannot get selected type from GetTypes
body: <p>I want to initialize classes in the following assembly which are inheriting from the <code>EntityBase</code> class using reflection.</p>
  
  <p>I am guessing the lambda expression is correct but I don't know how to get those 2 classes (there are 2 classes in assembly which inherit <code>EntityBase</code>) from <code>types2</code>.</p>
  
  <pre><code>Assembly a = Assembly.LoadFrom("X:\\Workspace\\Operations\\ItemSupplierSetupRequest\\Main\\Source\\ItemSupplierSetupRequest.Entity\\bin\\Debug\\xxxx.ItemSupplierSetupRequest.Entity.dll");
  IEnumerable&lt;Type&gt; types2 =
      a.GetTypes().Where(x =&gt; x.BaseType.ToString().Equals("xxxx.ItemSupplierSetupRequest.Entity.EntityBase"));
  </code></pre>
  
  <p>I also tried </p>
  
  <pre><code>var result =
      a.GetTypes().Where(x =&gt; x.BaseType.FullName.Equals("xxxx.ItemSupplierSetupRequest.Entity.EntityBase"));
  </code></pre>
  
  <p>but don't know how to use or to check if this returns those 2 classes?</p>