Hi, >> (But we should stick to vbc 7.x behavior in VB runtime to support .NET >> 1.x.) > >I'm with you. Please commit. > >Do you think that we should place a notice on that coding practice, >somewhere in the >$mono-basic\vbruntime\readme.txt ?
I think the following should be documented instead: CType (and it's C<type> friends for built-in types, a complete list would be useful) is usually implemented as calls to VB runtime rather than using IL code so it should be avoided when that specific behavior is not required. DirectCast is the eqivalent of C# casting. Because this is something that C# programers may be unaware of. Kornél _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
