Understanding the concept of Lifetime scope in Autofac : <p>Forgive me I just learned the <code>Autofac</code>. I have some problem to understand the <code>Lifetime scope</code> in <code>Autofac</code>. Please help to review below. </p>

<p>Say we have the code below.</p>

<pre><code>using(var scope = container.BeginLifetimeScope())
{
  // Resolve services from a scope that is a child
  // of the root container.
  var service = scope.Resolve&lt;IService&gt;();

  // You can also create nested scopes...
  using(var unitOfWorkScope = scope.BeginLifetimeScope())
  {
    var anotherService = unitOfWorkScope.Resolve&lt;IOther&gt;();
  }
}
</code></pre>

<p>As the <a href="http://autofac.readthedocs.io/en/latest/lifetime/working-with-scopes.html#creating-a-new-lifetime-scope" rel="noreferrer">Document</a> put. <code>Lifetime scopes are disposable and they track component disposal</code>. </p>

<p>Does it mean <code>service</code> is disposable and can be recycled by the GC after the statement <code>using(var scope = container.BeginLifetimeScope())</code> finished?</p>

<p>And so does it to the <code>anotherService</code> in the nested scope ? ?</p>

<p>How can I testify it by some experiment?</p>

<p>Thanks.</p>
