R
Ronald S. Cook
As I understand it, one can't overload a function when types/combinations
match.
E.g.
GetEmployeeList(string EmployeeNumber)
GetEmployeeList(string EmployeeLastName)
would not be able to be overloaded and you'd have to create a separate
function for one of them.
This just seems like a cruddy workaround... to have most everything as part
of your one overloaded function, but then to have 1 or 2 stragglers that
have to be named separately.
Is this just life and I have to deal with it, or is there a better approach?
Thanks,
Ron
match.
E.g.
GetEmployeeList(string EmployeeNumber)
GetEmployeeList(string EmployeeLastName)
would not be able to be overloaded and you'd have to create a separate
function for one of them.
This just seems like a cruddy workaround... to have most everything as part
of your one overloaded function, but then to have 1 or 2 stragglers that
have to be named separately.
Is this just life and I have to deal with it, or is there a better approach?
Thanks,
Ron
