Issue While Saving Screenshot
<p>I am trying following code to capture screenshot:</p>

<pre><code>Bitmap bitmap = new Bitmap (Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);

    Graphics graphics = Graphics.FromImage(bitmap as System.Drawing.Image);
    graphics.CopyFromScreen(25, 25, 25, 25, bitmap.Size);

    bitmap.Save("C:\\Users\\Mayank\\Desktop\\Screenshot\\", ImageFormat.Bmp);
</code></pre>

<p>The last line is resulting into following error:
A generic error occurred in GDI+</p>

<p>Please help :)</p>