3
Answers

dynamic keyword - creating ViewBag alike behaviour

eddy uk

eddy uk

13y
3.4k
1
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)