title: C# creating multiple rectangles using for loop
body: <p>Hey just wondering how I  can draw multiple rectangle objects in C# but have there yPosition updated say 10 pixels each time, so each new rectangle will be drawn 10px on top of the previous.</p>
  
  <p>Here is the rectangle I am trying to work with </p>
  
  <pre><code>Rectangle hozBarRect = new Rectangle(xPos_ + VERT_BAR_WIDTH, yPos_, HOZ_BAR_WIDTH, HOZ_BAR_HEIGHT);
  </code></pre>
  
  <p>So this rectangle needs to be drawn around 6 times with a new yPosition each time.</p>