title: Needs clarification on C# Flags
body: <p>i have this code:</p>
  
  <pre><code>[Flags]
  public enum MyUriType {
      ForParse,
      ForDownload,
      Unknown
  }
  </code></pre>
  
  <p>and then:</p>
  
  <pre><code>MyUriType uriType = MyUriType.ForDownload;
  </code></pre>
  
  <p>but, I was wondering why this returns true:</p>
  
  <pre><code>if ((uriType &amp; MyUriType.ForParse) == MyUriType.ForParse)
  </code></pre>
  
  <p>When it is not set in the second code group. Please advise.</p>