Pieces of VB.NET

Page Title:

Having made the switch from Perl to VBScript to PHP to .NET, I sometimes get confused on what functions and syntax to use where.  These are just some random things to remember to use when using VB.NET vs something else.

Instead Of Use in VB.NET
 CStr object.ToString() 
 CBool, CInt, CDbl, CDate, etc. CType(object, datatype)
or DirectCast(object, datatype)

Relevant Tags: VB.NET