Visual Basic .NET/Binary operators

VB.Net has several Binary Operators like '=', '<', '>', '<=', '>=' and '!=' which can be used in comparisons that evaluate to a boolean value. More complex expressions could be formed by using the binary operators with logical operators like 'AND', 'OR', 'NOT' and 'XOR'.

Example: The following example shows a code snippet to compare two variables and output the result in the Console Window