I know the difference between Dynamic and Var in C#:
- Dynamic: it uses reflection and late bound. (if you assign a wrong property, the build won't catch it until you run it.)
- Var: it is early bound (if you assign a wrong property, the error automatically pops up when you do a build.)
But, I couldn't figure it out why would you need to use Dynamic over Var if Var is such a smart marker and knows about your intention by checking your assigned value.
I read a lot of articles but couldn't find the exact answer and my head is still spinning.