Comparing two same string but returning false in C#. Don't know why????
<pre><code>     public bool VerifyTextPresent(By by, String actual)
    {
            WaitUntilElementIsPresent(by);
            String expected = GetText(by);
            return expected.Equals(actual);

    }
</code></pre>

<p>expected = "Total Win"</p>

<p>actual =  "Total Win"</p>

<p>I used "Contains" method also but return false only.
Please help me out on this.</p>