If you are Microsoft, why do you create a function “TypeOf” that has totally differnet applications in VB and C#?
Typeof in C# is like GetType in VB, where VB uses TypeOf to see if 2 types are the same or check for interface implementation.
Kinda dumb.
Yeah, just as dumb as VB.NET itself.
Because they are different languages created by different teams?
‘typeof’ is part of the syntax not the BCL.
As much as I dislike VB.Net you can’t really complain about it having a different syntax than C#, if it didn’t then it would be C#.
WT IS VBOK IN VB.NET?
VBOK is VB OK
which is available since classic VB5, VB6
which is a enum to have OK button over a messagebox