title: Workflow Foundation String Comparison
body: <p><a href="https://i.stack.imgur.com/phG8h.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>I am trying to do a simple string comparison in Workflow foundation. The workflow does not take me to "Then" on any case. Am I missing some basic checks. Appreciate your help.</p>
  
  <pre><code>doc.GetType().Name
  docname = "DOC1"
  compareresult = String.Equals(docname, "DOC1")
  compareresult.ToString()
  </code></pre>