1
我有這個充滿數據的Dim transactionArray As String()()
,兩個或多個元素具有相同的值。vb.net得到數組當前位置的索引
當我想通過數組搜索找到的東西,我有:
For Each tempString As String In transactionArray(tempInt1)
If tempString.Contains(searchText) Then
MessageBox.Show("Found It")
End If
Next
現在我將如何獲得當前的指數?因爲我有相同值的多個elemets,我猜,我不能使用Array.IndexOf