title: Find First Specific Byte in a Byte[] Array c#
body: <p>I have a byte array and wish to find the first occurance (if any) of a specific byte.</p>
  
  <p>Can you guys help me with a nice, elegant and efficient way to do it?</p>
  
  <pre><code> /// Summary
  /// Finds the first occurance of a specific byte in a byte array.
  /// If not found, returns -1.
  public int GetFirstOccurance(byte byteToFind, byte[] byteArray)
  {
  
  }
  </code></pre>