Wednesday, March 5, 2008

How to use Operators of VB?

_____________________________________________

How to use Operators in VB?

_____________________________________________

Comparison
= < > <= >= <>

Arithmetic
+ - * /
Mod
\ (integer division)
^ (raise to a power)

Assignment
= += -= *= /= \= ^= <<= >>= &=

Bitwise
And Or Xor Not << >>

Logical
AndAlso OrElse And Or Xor Not

Note: AndAlso and OrElse perform short-circuit logical evaluations

String Concatenation
&

____________________________________________________________________

Note:Applicable for .net also asp.net.
____________________________________________________________________

No comments: