title: IndexOf with multiple values ? C#
body: <p>So i have this list named Attributes filled with RoomId's ranging between 1-25 
  is there anyway to use IndexOf to call more than one value? </p>
  
  <pre><code>attributes.IndexOf(new Attributes { RoomID = 1 });
  </code></pre>
  
  <p>so something like this would be great</p>
  
  <pre><code> attributes.IndexOf(new Attributes { RoomID = 1-25});
  </code></pre>