Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Silverlight 3.0 Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Database:
Visual FoxPro
Divers
Thread ID:
01446590
Message ID:
01446601
Vues:
45
>>So, by doing the following code, (Confirm)sender, the (Confirm) is type casting the sender object to type Confirm? Is that what you are saying.

It's really not so weird to a VFP person once you use it a few times, Cecil.

Compare these two statements:
Assume that the variable a has been defined as type decimal.
VFP
b = INT(a)

C#
int b = (int) a

With VFP we put the () around the argument. With C#, we put the () around the function.
It's still just a function and an argument, but a different convention that accomplishes the same result.
.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform