Tuesday, August 21, 2012

Var Vs Dynamic

The main difference between Var and Dynamic in .NET world is Var is static and Dynamic is runtime.

Var gets to set to the target type at the compile time and Dynamic gets set at the run time.

No comments:

Post a Comment