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
How can I find an entry in an array in one line? My thinking is this..
Dim indx As Integer
Dim MyArray() As String
indx = MyArray.find("ThisEntry")
or the index of
indx = MyArray.indexof("ThisEntry")
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?