VB.NET Logical Operators

Quick chart to clarify which VB.NET operators one should use always.*

Never Use Instead, Always Use:
IIf(x, y, z) If(x, y, z)
And AndAlso
Or OrElse
image1 image2

* Always means "pretty much always." There may be some very rare, strange cases to use the "never use" items.

** Logical Awesome image copied from this site.

Comments !