title: How to invalidate screen faster?
body: <p>In my current project (game of life) I need to redraw the screen as there are around 200 objects moving. I can think of two ways but have no clue which will be faster:</p>
  
  <p>I can either:<br>
  1) Call Invalidate() for entire screen and in the Paint handler have following:</p>
  
  <pre><code>void Paint(object sender, PaintEventArgs e)
  {
     foreach(Cell c in ListOfCells)
            {
               e.DrawImage(c,c.x,c.y);
            }
  }
  </code></pre>
  
  <p>2)Or I could Invalidate each portion of screen for each cell:</p>
  
  <pre><code>public void MyInvalidate()
  {
    foreach(Cell c in ListOfCells)
                {
                   Invalidate(c.X,c.Y,c.Width,c.Height);
                }
  
  
  }
  </code></pre>
  
  <p>And have the same handler as above</p>