Class to return a value when it is being referred
<p>I have a class with two strings in it. </p>

<p>I would like to return one string when ever the object is referred to.</p>

<p>Code snippet:</p>

<pre><code>public class ABC
{
    public string A = "first";
    public string B = "second";
}

public class useABC
{
    ABC obj;

    if(obj == "first")
         Console.writeLine("True");
}
</code></pre>

<p>What should I do in my <code>ABC</code> class to print "True".</p>

<p>Thanks in advance.</p>
