I agree, but I'm struggling with a confusing signature. I have four
parameters that are always required. No problem there. Then I have three
parameters: int, datetime, datetime. The two date parameters represent
the From and To dates for a report. If I need only one of the dates, I
have no way to differentiate them. The way I solved it was to create a
class called DateRange with two properties. I use the DateRange object
as a parameter for the method. I'm not sure if this was the best way,
but it works.

*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!