title: Don't understand the using of IDisposable
body: <p>Would someone explain the following C# code a little bit for me? </p>
  
  <p><strong>I do have knowledge of the normal usage of IDisposable</strong>. But I don't understand the following code. The instantiate of <em>new LogLog.LogReceivedAdapter(configurationMessages)</em> looks like have nothing to do with the code block within keyword using. How does statement <em>InternalConfigure(repository, configFile)</em> eventually update variable <em>configurationMessages</em>?</p>
  
  <p>BTW, the code piece was grabbed from log4net XmlConfigurator.cs#508</p>
  
  <pre><code>static public ICollection Configure(ILoggerRepository repository, FileInfo configFile)
  {
      ArrayList configurationMessages = new ArrayList();
  
      using (new LogLog.LogReceivedAdapter(configurationMessages))
      {
          InternalConfigure(repository, configFile);
      }
  
      repository.ConfigurationMessages = configurationMessages;
  
      return configurationMessages;
  }
  </code></pre>