i am VERY new to c# but making good headway. I tried to make an array like this:
Rectangle[,] ScreenGrid = new Rectangle[57, 51];

it seems to work but when i try to do this later:

Code:
 private void SetUpScreenGrid()
        {
            int x; int y; Rectangle square;
            for (x = 1; x <= 56; x++)
            {
                for (y = 1; y <= 50; y++)
                {
                    ScreenGrid[x, y].Right = ScreenGrid[x, y].Left + 10;
                }
            }
         }
i get an error telling me it's read-only. Can anyone explain why and tell me the correct way?

-Thanks! I am undertaking an ambitious project: I am converting my old games submission wormipede line-by-line from vb6/dx7 to vb2010/xna. Your help will be appreciated.