title: Access elements in a list
body: <p>I have generated 8*16 ovalshape's in a form. The code is:</p>
  
  <pre><code>for (int i = 0; i &lt; 16; i++)
  {
      for (int j = 0; j &lt; 8; j++)
      {
          OvalShape ovl = new OvalShape();
          ovl.Width = 20;
          ovl.Height = 20;
          ovl.FillStyle = FillStyle.Solid;
          ovl.FillColor = Color.Transparent;
          ovl.Name = "oval" + j + "" + i;
  
          ovl.Location = new Point((ovl.Width * i) * 2, (ovl.Height * j) * 2);
  
          ovalShape.Add(ovl);
      }
  }
  
  foreach (OvalShape os in ovalShape)
  {
      Microsoft.VisualBasic.PowerPacks.ShapeContainer shapeContainer = 
                             new Microsoft.VisualBasic.PowerPacks.ShapeContainer();
      os.Parent = shapeContainer;
      this.Controls.Add(shapeContainer);
  }
  </code></pre>
  
  <p>Now I want access to each ovalshape differently. How could I do this?</p>