title: How can I read a CSV file I downloaded from MemoryStream using C# .net?
body: <p>I'm downloading a file, supposedly a .csv file, from an external URL with the following code.</p>
  
  <pre><code>MemoryStream download = new MemoryStream(client.DownloadData(targetUrl));
  </code></pre>
  
  <p>In the download variable theres data being populated but my problem now is actually reading that data. I tried the following:</p>
  
  <pre><code>StreamReader dataReader = new StreamReader(download, 
                                             System.Text.Encoding.Default, 
                                             true);
  </code></pre>
  
  <p>This and all other Encoding types are tried only return gibberish instead of the .csv data I need. Can anybody tell me how to do it?</p>