Re:Simple but Interesting Features of VS2010 and C# 4.0
by mendicant on Thursday November 17, 2011 @04:11PM
(#3249237)
true, but they kind of go hand in hand.
The nice part about named params is that it can make your code more clear if you have a lot of parameters on a method... but you could do the same thing by introducing a parameter object and be as clear and more resistant to change.
The nice part about named params is that it can make your code more clear if you have a lot of parameters on a method... but you could do the same thing by introducing a parameter object and be as clear and more resistant to change.