However,
var is statically typed, and
dynamic is not. ... A
var is an implicitly typed variable that is inferred by the compiler, but it is just as strongly typed as if you had explicitly typed it yourself using --int test2 = 2;--. A
dynamic variable bypasses all compile-time type checking and resolves everything at runtime.Jun 16, 2010
read more >>