title: C#-Warning 2 Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string'
body: <pre><code>if ((Session["UserName"] != null &amp;&amp; Session["LoginType"] == "Admin") || (Session["UserName"] != null &amp;&amp; Session["LoginType"] == "Employee"))
  { 
      TotalMarketBalance();
  }
  </code></pre>