title: How does one make an array in my game1 class public
body: <p>Here is the code I use to define my array, this code is above my Initialize():
      <code>public Tile[,] tileArray;</code>
  Here is my code in my protected overide void Initialize() that declares it:
      <code>Tile[,] tileArray = new Tile[gridScope, gridScope];</code></p>
  
  <p>Tile is a class used to represent a tile for my game.</p>
  
  <p>I do get a inconsistent accessibility error when i try to run this; I cannot, however, put public in front of the declaration because then visual studio tells me that <code>public</code> is an invalid expression at that <code>Tile</code> is expecting a <code>;</code>.</p>
  
  <p>I need to refer to this array in other classes so I can manipulate the tiles but I do not know how to make it consistently public.</p>
  
  <p>How do I make <code>tileArray</code> public?</p>