Why if I'm checking if a line exists in a text file it's not acting when the line exists?
<p>This is the code:</p>

<pre><code>if (@"d:\Keywords.txt".Contains(line))
{
}
else
{
    w.WriteLine(line);
}
</code></pre>

<p>I see in notepad that in Keywords.txt there is the line: </p>

<blockquote>
  <p>Daniel</p>
</blockquote>

<p>And line is now Daniel
But it still doing the w.WriteLine(line);</p>

<p>Why is that ?</p>
