Class1.csfile that was generated by the Game Library project template to
TileMap.cs. Visual Studio will ask you if you wish to rename all references to the class as well. Go ahead and click on Yes. We have not referenced our new class anywhere, so no other code is actually updated.
TileMap.csfile to open it in the Visual Studio editor.
usingdirectives to the top of the class file:
using Microsoft.Xna.Framework.Storage; using System.IO; using System.Xml.Serialization; using System.Runtime.Serialization.Formatters.Binary;
public static class ...