title: How do I reference values in an List, excluding the current element
body: <p>So this is something that should be easy to get around but I can't quite figure out. (I'm using XNA for Visual Studios 2015. I know it's a bit outdated)</p>
  
  <p>What I have is a List of Enemies (from an Enemy class). Each enemy is assigned a collision rectangle, and if one enemy intersects another enemy's collision box, they stop moving. 
  I'd like to use something similar to a for loop.</p>
  
  <pre><code>for (int i = 0; i &lt; spawnAmount; i++)
  {
      if (enemies[i].collisionRect.Intersects(enemies[].collisionRect))
          enemies[i].allActive = false;
  }
  </code></pre>
  
  <p>So in the blank space (where enemies[] should have a value), is there any way to use all of the values from the enemies List (i.e enemies[1, 2, 3, 4, 5]) <em>minus</em> enemies[i]? Otherwise the enemy detects its own collision box and stops anyway. It doesn't have to be confined to a few lines but the less complicated the better. </p>