291 Views
In this tip Paulo brings up a method I use often to avoid a 'buffet' of method overloads. Encapsulation all your 'arguments' in a class and passing that in, instead of all/many arguments that may or may not be optional. It's still relevant in C# 4.0 despite its new optional arguments - though I think this post misses some sample code.
0 comments