title: Save print screen in C#
body: <pre><code>Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, 
                                      Screen.PrimaryScreen.Bounds.Height);
  Graphics graphics = Graphics.FromImage(bitmap as Image);
  graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
  bitmap.Save(@"C:\Temp\printscreen.jpg", ImageFormat.Jpeg);
  </code></pre>
  
  <p>This is my code for print screen button. The problem is that I press the button few times and it just write over the old image file (printscreen.jpg), it will not create another new image file such as printscreen1.jpg. </p>