title: VB.NET Find a string in an Array
body: <p>I am new to VB.net, usually a Python or Matlab programmer.I have begun programming in VB.Net. I am battling to reference an index of a string in an array without looping through a for loop</p>
  
  <p>How can I find an entry in an array in one line? My thinking is this..</p>
  
  <pre><code>Dim indx As Integer
  Dim MyArray() As String   
  
  indx = MyArray.find("ThisEntry")
  </code></pre>
  
  <p>or the index of </p>
  
  <pre><code>indx = MyArray.indexof("ThisEntry")
  </code></pre>
  
  <p>So far all I have found is function describing a method directly after you declare the variable? Am I missing something? or does the logic not make sense?</p>