Hello everyone.
I have a simple collection of byte and I am trying to use exists method to find if an element exists on it without effect. What do I am missing?
Dim Collection() As Byte = {2, 4, 6}
Dim i As Integer
Dim x As Byte = 4
If sullogi.Exists(sullogi, x) Then
MsgBox("found")
End If
I am getting error in if statement, NullReferenceException was unhandled
What's going on there?
Could anyone help me? Any help will be much appreciated.
Thank you so much in advanced.
I have a simple collection of byte and I am trying to use exists method to find if an element exists on it without effect. What do I am missing?
Dim Collection() As Byte = {2, 4, 6}
Dim i As Integer
Dim x As Byte = 4
If sullogi.Exists(sullogi, x) Then
MsgBox("found")
End If
I am getting error in if statement, NullReferenceException was unhandled
What's going on there?
Could anyone help me? Any help will be much appreciated.
Thank you so much in advanced.