Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different Type Conversion Methods
Message
From
18/04/2007 11:26:41
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
18/04/2007 10:47:40
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01217261
Message ID:
01217332
Views:
12
So do you know any advantages of using one over another, besides the exclusivity to VB (I did not know that, thanks).

>Mike all the C...() are functions that only exist in VB.NET, the others .ToString or Convert are objects and methods of the .net framework that are available to every .net language.
>
>
>>I have been meaning to ask this question for a while...
>>
>>What is the difference between different type conversion methods? For example:
>>
>>.ToString vs. CSTR() vs. Convert.ToString
>>
>>CDEC() vs. Convert.ToDecimal
>>
>>Date.Parse() vs. CDATE() vs. Convert.ToDateTime
>>
>>And a side question: Is there a difference between Date and DateTime types?
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform