Good old compiler ... did you try his suggestion ?
Add this line in the top of your file :
using System.Drawing.Bitmap;
If you want more : check msdn.
By the way, you can right-click on Bitmap
and select Resolve
to do it. This is the easy way.
To save your image into a file, there is differents ways to do it. It depends of which platform you are. I think you should look in WriteableImageEx or here or here