Nick Gravelyn's Blog

on XNA Game Studio and game development

December, 2010

Posts
  • Nick Gravelyn's Blog

    ‘using’ IDisposable objects

    • 17 Comments
    This isn’t fully game related, but I see so many people posting code on forums that looks like this: Stream stream = storageContainer.CreateFile( "MyFile.txt" ); StreamWriter writer = new StreamWriter (stream); writer.Write( "Stuff"...
Page 1 of 1 (1 items)