title: C# export / write multidimension array to file (csv or whatever)
body: <p>Hi Designing a program and i just wanted advise on writing a multiDim array to a file.
  I am using XNA and have a multidimension array with a Vector3(x, y, z)'s in it.</p>
  
  <p>There are hundred thousand if not millions of values, and i want to be able to save them in a file (saving the game level). I have no bias to one idea, i just need to store data...thats it! All the other game data like player stats etc etc i am using XMLSerializer and its working wonders.</p>
  
  <p>Now i was playing with xml serializer alot and have learn that you cannot export MultiDim Arrays... so frustrating (but i am sure there is a good reason why - hopefully). I played with Jagged's with no luck.</p>
  
  <p>Used  System.IO.File.WriteAllText  then quickly relised that is only for string... daahhh</p>
  
  <p>Basically i think i need to go down the BinaryWrite method, re-writing my own serializer, over even try running a sql server to host the masses of data... stupid idea? please tell me and can you point me in the write direction. As i primarily have a web (php) background the thought of running a server that syncs data / level data is attractive to me... but might not be applicable here.</p>
  
  <p>Thanks for anything,</p>
  
  <p>Mal</p>