Hi
Having some problem with Collection in Vb.net.
I have this
Dim test1 as string = "12345"
Dim test2 as string = "123456"
Dim test3 as string = "1234567"
Dim cTest as New Collection
cTest.Add(test1)
cTest.Add(test2)
cTest.Add(test3)
If Not cTest.Contains(test3) Then
'''''''
End if
But the code inside the if statment is executed.
What I'm I doing wrong?
Start Free Trial