Camera in XNA

Camera is so important in a game. It is very easy to make,
lets see how to make a simple camera,

First things first we need to define our variable in class.
Vector2 cameraPosition= new Vector2(-130,-50);

And then we should go for updating
(These things maybe little bit complicated for you, so that one way or another, you should download the source codes of this program)
Vector2 maxScroll = new Vector2(ScreenWidth, ScreenHeight) / 2;
const float catSafeArea = 0.1f;
maxScroll *= catSafeArea;
// Make sure the camera stays within the desired distance of the cat.
Vector2 min = Pozisyon - maxScroll;
Vector2 max = Pozisyon + maxScroll;
cameraPosition.X = MathHelper.Clamp(cameraPosition.X, min.X, max.X);
cameraPosition.Y = MathHelper.Clamp(cameraPosition.Y, min.Y, max.Y);

Drawing
// Work out how far to scroll based on the current camera position.
Vector2 screenCenter = new Vector2(ScreenWidth, ScreenHeight) / 2;
Vector2 scrollOffset = screenCenter - cameraPosition;

That's is, our camera is ready to use.
here is the program about making simple camera