3
Reply

dynamic keyword - creating ViewBag alike behaviour

eddy uk

eddy uk

Jun 13 2011 1:55 PM
3.4k
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!

Answers (3)