B
Brian
Does anyone have a good way to handle the following situation...
public void FilterResults(int a, int b)
I need to filter based on none, one, or both parameters, so they both
need to be "optional". Overloading is eliminated as a possible
solution because both parameters are the same type. Params is
possible, but it doesn't seem like I can keep track of which params are
passed in (which is which)...Any ideas?
Thanks, Brian
public void FilterResults(int a, int b)
I need to filter based on none, one, or both parameters, so they both
need to be "optional". Overloading is eliminated as a possible
solution because both parameters are the same type. Params is
possible, but it doesn't seem like I can keep track of which params are
passed in (which is which)...Any ideas?
Thanks, Brian