Imports System.Collections.Generic
Dim lstWords as New List(Of String)()
If lstWords.Contains("learning") Then
Console.WriteLine("Word found!")
Dim index As Integer = lstWords.IndexOf("learning")
Console.WriteLine("Index is " & index)
Dim strWord As String = lstWords.Find(Function(value As String)
Console.WriteLine(strWord)
Dim index2 As Integer = lstWords.FindIndex(Function(value As String)
Console.WriteLine(index2)
Dim strWord2 = lstWords.FindLast(Function(value As String)
Console.WriteLine(strWord2)