
このプログラムでpngファイルが識別されないのはなぜですか?
public class Game1 : Microsoft.Xna.Framework.Game
    {
        GraphicsDeviceManager graphics;
        SpriteBatch spriteBatch;
            Texture2D box;
    }
//この部分は次が特定されていないというエラーを表示しています。
 protected override void LoadContent()
            {
                spriteBatch = new SpriteBatch(GraphicsDevice);
                box = Content.Load<Texture2D>("next");
            }