Texture2D texture = Content.Load("myTexture");
spriteBatch.Begin(); spriteBatch.Draw(texture, new Vector2(100, 100), Color.White); spriteBatch.End();This code draws the previously loaded texture on the screen at position (100, 100) using the SpriteBatch class. Package Library: Texture2D is a part of the MonoGame.Framework.Graphics namespace, which is included in the MonoGame.Framework package library.