[Mono-list] VBNC in Mono.

Kornél Pál kornelpal at gmail.com
Wed Sep 13 11:31:51 EDT 2006


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 



More information about the Mono-list mailing list