If you are use the var keyword, then it valid type against right side value on declaration time
var data = "name";
Here var will be string type at compile time.
If you are use the dynamic keyword, the type will be decide on run time.
dynamic data = "name";
data = 8;
it will compile without any error, at run time data variable type is a int than string.because in the second line of code, you have change to string to in value on right hand side.
10 Feb 2011 01:49:02