How's memory allocated for a dynamic variable .net 4.0?-Collection of common programming errors
A variable of type dynamic is effectively a variable of type object as far as the CLR is concerned. It only affects the compiler, which makes any operations using a dynamic expression go through execution-time binding.
That binding process itself will use extra local variables etc (take a look in ILDASM, Reflector or something similar and you’ll be staggered) but in terms of dynamicVar itself, the code you’ve got is just like having an object variable – with appropriate boxing for the int and bool values.