Error!
Success!

C# 4.0: Alternative To Optional Arguments - Paulo Morgado

0
kicks

C# 4.0: Alternative To Optional Arguments - Paulo Morgado  (Unpublished)

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.


Kicked By:
Drop Kicked By: