   XNA Array troubles
  I have a major problem with the project I'm currently working on. It's a very simple side-scrolling platformer and I'm currently trying to render the tile-map for the level. I've already established that the side-scrolling works earlier with a simple player sprite and an off-screen dummy sprite, but when I try to generate the map, everything goes to hell.   private void TileInit()   {  tileInitArray = new char[,]  {{/*INSERT GIANT ARRAY HERE*/}};   for (int i = 0; i < 14; i++)  { for (int l = 0; l < 200; l++) {if (tileInitArray[i, l] == 'Q'){    tileArray[i,l] = new tile(question, new Vector2(i * 16, l * 16), 16, 16);}if (tileInitArray[i, l] == 'G'){    tileArray[i,l] = new tile(ground, new Vector2(i * 16, l * 16), 16, 16);}if (tileInitArray[i, l] == 'B'){    tileArray[i,l] = new tile(block, new Vector2(i * 16, l * 16), 16, 16);}if (tileInitArray[i, l] == 'S'){    tileArray[i,l] = new tile(solid, new Vector2(i * 16, l * 16), 16, 16);}if (tileInitArray[i, l] == 'E'){    tileArray[i,l]  = new tile(texture, new Vector2(i * 16, l * 16), 16, 16);} }  }   }The gargantuan array up there represents a clone of the first level of Super Mario Bros., created with www.arraypainter.com.When I try to run this code, the whole thing goes to hell, the very first tile it tries to put in the Array makes it throw an 'NullReferenceException'. I'm just about ready to scream. Please help?   
  Going to need some additional details about that NullReferenceException.  What is it saying is null?  The initArray?  the tileArray?  "Question", "ground", "block," "solid," or "texture?"  Give us the dirt!   ;  Nevermind guys! I figured it out on my own. Thank you for your time anyway!   