title: Linq to SQL .Any() with multiple conditions?
body: <p>I'm trying to use .Any() in an if statement like so:</p>
  
  <pre><code>if(this.db.Users.Any(x =&gt; x.UserID == UserID)){
      // do stuff
  }
  </code></pre>
  
  <p>Is there a way I can put multiple conditions inside of the .Any()?  For example something like:</p>
  
  <pre><code>if(this.db.Users.Any(x =&gt; x.UserID == UserID AND x.UserName == UserName)){
      // do stuff
  }
  </code></pre>
  
  <p>Or is there a better way to go about this?</p>