Hello
I would like to create a variable that can have dynamic properties.
Like MVC view bag, that u can append properties as you like:
ViewBag.MyName
ViewBag.Solution
etc
what dynamic type should be used for this please?
Thanks in advanced!
Dynamic keyword - creating ViewBag alike behaviour
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jun 13, 2011, 10:03 AM EDT
See http://msdn.microsoft.com/en-us/library/system.dynamic.expandoobject.aspx
eddy uk16 reputationPosted Jun 13, 2011, 10:33 AM EDT
Pradeep ChandrakerRank #941 · 2.2K reputationPosted Jun 13, 2011, 10:41 AM EDT