3
Answers

dynamic keyword - creating ViewBag alike behaviour

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)