Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type conversions
Message
De
14/06/2005 11:46:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/06/2005 11:39:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01023085
Message ID:
01023163
Vues:
14
>Hi Hilmar,
>Yes possible and at first it seems unbelieveable what you might do similarly:
>
>
>txtResult.Text =
> (Double.Parse(TxtExchangeRate.Text) * Double.Parse(TxtAmount.Text)).ToString();
>
>
>You could also do this:
>
>123.ToString();
>
>:)
>
>Cetin

Oh, really! I thought about this, but then discarded it, thinking that the expression on the left of .ToString wouldn't be a valid object.

I suppose that this would be implicit boxing?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform