title: SPSite site = new SPSite(SPContext.Current.Web.Url) vs SPContext.Current.Web.Site
body: <p>Why do some SharePoint examples use</p>
  
  <pre><code>using (SPSite site = new SPSite(SPContext.Current.Web.Url))
  {
      ...
  }
  </code></pre>
  
  <p>and not just simply?</p>
  
  <pre><code>SPSite site = SPContext.Current.Web.Site;
  ...
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>I think I have narrowed the question down to the following:</p>
  
  <p>It seems that I should not use <code>SPContent.Current</code> directly, unless I am certain, that my code runs inside SharePoint. But when would that not be true?</p>