Texture2D texture = Content.Load("imageName");
spriteBatch.Draw(texture, position, Color.White);
Rectangle sourceRect = new Rectangle(0, 0, 50, 50); spriteBatch.Draw(texture, position, sourceRect, Color.White);These examples demonstrate the use of Texture2D in drawing graphics in XNA. The package library that includes this class is the XNA Framework, which provides a complete set of tools for game development.