[Mono-list] VBNC in Mono.

Rafael Mizrahi rafim at mainsoft.com
Thu Sep 14 02:58:06 EDT 2006

I have added a Coding guidelines section to the readme.txt with this comment.


-----Original Message-----
From: Kornél Pál [mailto:kornelpal at gmail.com] 
Sent: Wednesday, September 13, 2006 18:32
To: Rafael Mizrahi; Miguel de Icaza
Cc: mono-list at lists.ximian.com; Rolf Bjarne Kvinge
Subject: Re: [Mono-list] VBNC in Mono.


>> (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.


More information about the Mono-list mailing list