title: IEnumerable<string> to Stream for FileStreamResult
body: <p>I have an <code>IEnumerable&lt;string&gt;</code>, which is "streamed" per <code>yield</code> statements from a method. Now I want to convert this enumerable to a <code>Stream</code> to use it as streamed result. Any ideas how I can do this?</p>
  
  <p>What I finally want to do is to return the <code>Stream</code> as <code>FileStreamResult</code> from an ASP.NET controller action. This result should be streamed as download to the client.</p>
  
  <p>What I do NOT want to do is to write the whole content of the <code>IEnumerable</code> to the stream before I return the result. This would eliminate the whole sense of the streaming concept.</p>