how to set a custom size for window in monogame code example
Example: how to set a custom size for window in monogame
graphics.PreferredBackBufferWidth = WIDTH; // set this value to the desired width of your window
graphics.PreferredBackBufferHeight = HEIGHT; // set this value to the desired height of your window
graphics.ApplyChanges();