title: C# how to get a bitmap from a picturebox
body: <p>I have a image in picturebox. I want to get that image as a Bitmap. </p>
  
  <p>My one line code is:</p>
  
  <p><code>Bitmap default_image = (Bitmap)pictureBox5.Image.Clone();</code></p>
  
  <p>But what i am getting is:</p>
  
  <p><code>default_image value=null;</code></p>
  
  <p>Can anyone help me.</p>