title: With FileStreamResult, how is the MemoryStream closed?
body: <p>The following code works, but I'm wondering if the <code>MemoryStream</code> created is closed properly. How should this be performed or does <code>FileStreamResult</code> handle it for me?</p>
  
  <pre><code>public FileStreamResult DownloadBudgetedRoleOpportunities(
      Guid projectGuid, 
      IEnumerable&lt;Guid&gt; guidRequiredRoles)
  {
      var rolebroker = new ProjectRoleBudgetBroker();
      var memstream = rolebroker.CreateBudgetedRoleOpportunies(
          projectGuid, 
          guidRequiredRoles);
  
      var fsr = new FileStreamResult ( memstream, "application/csv" )
                {
                  FileDownloadName = "RoleOpportunities.csv"
                };
      // memstream.Close(); throws exception
      return fsr;
  }
  </code></pre>