Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overloading Question
Message
De
14/08/2007 22:35:51
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01248156
Message ID:
01248179
Vues:
26
With 6 parameters, I would define a class that just consisted of 6 properties/fields, along with associated getters/setters. Then just pass the object and query each field for null or value.

>I have a procedure that takes 6 params. All are optional. That means a large number of overloads.
>
>Can I somehow create optional params, or is there some way to check for optional params?
>
>Thanks

(On an infant's shirt): Already smarter than Bush
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform