title: Unloading the Assembly loaded with Assembly.LoadFrom()
body: <p>I need to check the time amount to run GetTypes() after loading the dll.
  The code is as follows.</p>
  
  <pre><code>Assembly assem = Assembly.LoadFrom(file);
  sw = Stopwatch.StartNew();
  var types1 = assem.GetTypes();
  sw.Stop();
  double time1 = sw.Elapsed.TotalMilliseconds;
  </code></pre>
  
  <p>I'd like to unload and reload the dll to check the time to spend in running GetTypes() again.</p>
  
  <ul>
  <li>How can I unload it? <code>assem = null</code> is good enough? </li>
  <li>Is there an explicit way to call garbage collector to reclaim the resource allocated to assem?</li>
  </ul>