directxBOB
asked on
Checking the values passed into a method?
I am passing around 10 values into a method and I was wondering is there a built in way to ensure that all 10 values have been passed in / not null?
I am looking to avoid having a massive if statement or block of statements.
I am looking to avoid having a massive if statement or block of statements.
Use array or list, then loop through it and check?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Bit the bullet and made my own class with the values.