title: Get row index if some column value is equal to something
body: <p>In this datatable there are no duplicates, I need the row index where column x value equals 2. I would do it like this:</p>
  
  <pre><code>Dim rowIndex As Integer = 0
  For i = 0 To mtable.Rows.Count - 1
              If mtable.Rows(i)("x") = 2 Then
                  rowIndex = i
                  Exit For
              End If
          Next
  </code></pre>
  
  <p>I will be calling this process multiple times per second. Is there a faster way to do this in .NET?</p>