title: How to check if 2 large text files content are 100% same?
body: <p>I have two large text files (about 1.8 GB each encoded in UTF-8). And I want to check if the content of both files are 100% same. If there is single character difference then it is considered not same, i.e. both files are different. How do I do that?</p>
  
  <p>So my question is: How to check if 2 large text files content are 100% same?</p>
  
  <pre><code>Dim TextFile1 as String = "C:\TextFile1.log"
  Dim TextFile2 as String = "C:\TextFile2.log"
  </code></pre>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I forgot to add, the solution should be using minimal memory because the specific PC only has 256 mb memory</p>