Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ToString in VB.NET code in ASP.NET Web Page
Message
 
 
À
17/11/2009 09:49:17
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
Database:
Visual FoxPro
Divers
Thread ID:
01435079
Message ID:
01435192
Vues:
48
>>So, it is important to know this behavior.
>
>I already know this but the point of my reply was your nitpicking a mistake in Bonnie's post that din't change the result one bit. If its a decimal or an integer, the cast will still take place.

Do you think I don't know that? I posted the same reply to Cecil. It was not a nitpicking - it was important note since the behavior may be different in different languages.

BTW, it is really interesting fact that in .NET languages the cast happens automatically. In other languages this is not the case and it is better to not rely on this behavior and use explicit cast.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform