nerdexam
Microsoft

98-374 · Question #85

Which XNA object should you use in your game to get the screen size?

The correct answer is D. Microsoft.Xna.Framework.GraphicsDeviceManager.GraphicsDevice.DisplayMode. us/library/microsoft.xna.framework.graphics.graphicsdevice.displaymode.aspx

Understanding Namespaces and Classes

Question

Which XNA object should you use in your game to get the screen size?

Options

  • AMicrosoft .Xna.Framework.Graphics.RasterizerState
  • BMicrosoft.Xna.Framework.Media
  • CMicrosoft.Xna.Framework.Graphics.SpriteBatch
  • DMicrosoft.Xna.Framework.GraphicsDeviceManager.GraphicsDevice.DisplayMode

How the community answered

(59 responses)
  • A
    7% (4)
  • B
    17% (10)
  • C
    3% (2)
  • D
    73% (43)

Explanation

us/library/microsoft.xna.framework.graphics.graphicsdevice.displaymode.aspx

Topics

#XNA#GraphicsDevice#DisplayMode#screen size

Community Discussion

No community discussion yet for this question.

Full 98-374 Practice