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
  • 161,154
  • 30
  • 262
  • 319
Afnan Makhdoom
  • 656
  • 1
  • 8
  • 19

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
  • 161,154
  • 30
  • 262
  • 319
2

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

Inisheer
  • 19,806
  • 9
  • 48
  • 81
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,899
  • 1
  • 14
  • 20