T
TheNedMan
I was looking at one of the Microsoft VB.net sample apps and I
couldn't believe what I was seeing: apparently in VB you can declare
an event with the name X and refer to it in code with the name
XEvent.
I right-clicked on the event reference in code (XEvent) and of course
the IDE didn't know what to make of it, but the event was declared
with the name X - this rubbish actually compiled!!!
What gives !!?? I thought I had seen some horrible stuff allowed by
VB, but this takes the cake!
couldn't believe what I was seeing: apparently in VB you can declare
an event with the name X and refer to it in code with the name
XEvent.
I right-clicked on the event reference in code (XEvent) and of course
the IDE didn't know what to make of it, but the event was declared
with the name X - this rubbish actually compiled!!!
What gives !!?? I thought I had seen some horrible stuff allowed by
VB, but this takes the cake!