RouteValueDictionary: abuse or elegance?

Published Sat, Oct 4 2008 23:02

Today I was reading an old post by Mike Tauty about the RouteValueDictionary and I remembered some old discussions on the RouteValueDictionary class. As many others, Mike sees the RouteValueDictionary as an abuse of the new anonymous type feature introduced by C# 3.0.

Me: well, I’m not so quick in saying that it’s an abuse. I mean, would you prefer to drop the anonymous type sugar syntax and use the object initializer syntax for passing values to that dictionary? I wouldn’t, but I’m interesting in knowing what others think about this…

Filed under: , ,

Leave a Comment

(required) 
(required) 
(optional)
(required)