For performing in full-screen mode, the following codes are added to the constructor of Game1 class.
public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; // It performs in full-screen mode. graphics.IsFullScreen = true; }