List<Rectangle> RectList = new List<Rectangle>();
public void CreateRectangles(int numberofrects)
{
Rectangle OldRectangle = new Rectangle(600, 600, 100, 100);
for (int i = 0; i < numberofrects; i++)
{
Rectangle NewRectangle = new Rectangle(OldRectangle.X + (100), OldRectangle.Y + (100), OldRectangle.Width -= (100), OldRectangle.Height -= (100));
RectList.Add(NewRectangle);
OldRectangle = NewRectangle;
}
}
Now to use these rectangles to draw, you're going to have to use the list.
ie: for (int i = 0; i < RectList.count; i++)
{
//your code for drawing the specific rectangle
//( Draw(blahblah,<yourrectangle is="">RectList[i]
}
Sorry if it looks messy, i tried to make it as clear as possible to a new c#er
edit: haha i realize this still isnt' what you want. Maybe upload a picture to imgur.com and paste it here