In VB, I believe the following are equivalent:
If Not x = y Then ... End If
If x <> y Then ... End If
Am I wrong? Is there some scenario in which they are not equivalent? If so, what is it? If not, is one preferred over the other? Why? In the latter, the <> operator is pretty foreign looking to me, as I am more used to the C# !=. I also end up forgetting if it is <> or >< all the time. The downside of the former seems to be that it reads like Yoda speaks.