1

For example

If arrayToSearchThrough(i + j) <> patternToFind(j) Then
    found = False
    Exit For
End If

What does <> this mean in Visual Basic .Net

Rahul Tripathi
  • 168,305
  • 31
  • 280
  • 331
Afnan Makhdoom
  • 654
  • 1
  • 8
  • 20

3 Answers3

3

This represent NOT EQUAL TO sign.

If a <> b then it can be read as

If a is less than b or a is greater than b

which would result in if a is anything except equal to b

Rahul Tripathi
  • 168,305
  • 31
  • 280
  • 331
2

It means Not Equal To (which is essentially, less than or greater than).

Inisheer
  • 20,376
  • 9
  • 50
  • 82
1

Simply means NOT EQUAL TO

for example :

if a <> b 
 // your operation
end if

In other words you can write it as below

if not a = b
Haji
  • 1,999
  • 1
  • 15
  • 21