title: Unsafe method to get pointer to byte array
body: <p>is this behaviour will be valid in C#</p>
  
  <pre><code>public class MyClass
  {
      private byte[] data;
      public MyClass()
      {
          this.data = new byte[1024];
      }
      public unsafe byte* getData()
      {
          byte* result = null;
          fixed (byte* dataPtr = data)
          {
              result = dataPtr;
          }
          return result;
      }
  }
  </code></pre>