title: Operator '==' cannot be applied to operands of type 'method group' and 'string'
body: <p>I am receiving an "Operator '==' cannot be applied to operands of type 'method group' and 'string'" error on the third line of this code and I do not know why.</p>
  
  <pre><code>where (PRIORITiesItem.Prioid == null || PRIORITiesItem.Prioid.Contains("1%")) 
      &amp;&amp; (SITEItem.Id == "TH" || SITEItem.Id == "NM")  
  --&gt; &amp;&amp; (sv.Glseg.TrimStart == "703" || sv.Glseg.TrimStart == "704" || sv.Glseg.TrimStart == "705")        
      &amp;&amp; (CREWItem.Crewid == null || !CREWItem.Crewid.Contains("2-%") &amp;&amp; CREWItem.Crewid.Contains("MAINT") 
          || (CREWItem.Crewid.Contains("ELECT") || CREWItem.Crewid.Contains("INST")
      &amp;&amp; !WORKORDERTYPEItem.Id.Contains("Standing")))
  </code></pre>
  
  <p>At first I thought that maybe it didn't like "==" so I chnaged it with "=" but that wasn't the problem.  besides, the line right above it uses "==" and it works just fine.  Glseg is a field within a table, not a method so it must not like the string.  Does anyone have any ideas where I am going wrong?</p>