title: I want to get index in array which contains my value in C#
body: <p>I want to get index in array which contains my value in C#.
  For example, 
  my array is:</p>
  
  <pre><code>byte[] primes = {2, 3, 5, 7, 11, 13};
  </code></pre>
  
  <p>I will get index of value 11 for this example.  The array type is Byte.</p>