C# findindex with multiple expressions
<p>How can I search a list for two different things?</p>

<p>For example, this code works perfectly fine:</p>

<pre><code>int index = mylistofobjects.FindIndex(a =&gt; a.firstname == "Bob");
</code></pre>

<p>Is there a way to change it to something like this?</p>

<pre><code>int index = mylistofobjects.FindIndex(a =&gt; a.firstname == "Bob", a.lastname == "Smith");
</code></pre>

<p>I'm trying to return the mylistofobjects instance that has first name Bob and lastname Smith.</p>

<p>Thanks for the help.</p>
