Dim temp As String
Dim index As Integer
Dim arList As ArrayList
temp = "images/"
For index = 0 To temp.Length - 1
If path.GetExtensi on(temp(index)) = ".jpg" Then

arList.Add(temp (index))
End If

Next
I am trying this code, but its giving me error that 'GetExtension is not...