title: C# byte* to VB.NET BitmapData scanline
body: <p>how do I convert C# code</p>
  
  <p>bmd is BitmapData</p>
  
  <pre><code> byte* scanline = (byte*)bmd.Scan0 + (y * bmd.Stride);
  </code></pre>
  
  <p>to VB.NET?</p>
  
  <p>Online C# to VB.net converter gave me this line</p>
  
  <pre><code>Dim scanline As Pointer(Of Byte) = CType(bmd.Scan0, Pointer(Of Byte)) + (y * bmd.Stride)
  </code></pre>
  
  <blockquote>
    <p>but Type 'Pointer' is not defined. in
    VB.Net?</p>
  </blockquote>
  
  <p>What are my options?, thanks for the advise.</p>