title: Extracting specific part of a text file in C#
body: <p>I usually add some strings from a text file into a list or array line by line, although I am now using "#"'s as separators in the text file. How would it be possible to read the two strings "softpedia.com" and "download.com" into a list using the two "#" signs as a breaking point? Baring in mind that there might be more or less strings inbetween the two hashes</p>
  
  <p>e.g.</p>
  
  <pre><code># Internal Hostnames
  softpedia.com
  download.com
  # External Hostnames
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>softpedia.com
  download.com
  </code></pre>