title: Store the databits of a bitmap into a int array
body: <p>In Java i would do something like this</p>
  
  <pre><code>int[] pixels = ((DataBufferInt) image.getRaster().getDataBuffer()).getData();
  </code></pre>
  
  <p>where image is a BufferedImage and then alter the pixels in there and make my own blitting methods but how am i supposed to do something like this in C#? I know i can use a Bitmap to replace BufferedImage in C# but i'm not sure about making a reference to the data like shown above.</p>