Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overloading Question
Message
From
14/08/2007 22:35:51
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01248156
Message ID:
01248179
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform