When should one use dynamic keyword in c# 4.0?

2019-01-06 13:01发布

When should one use dynamic keyword in c# 4.0?.......Any good example with dynamic keyword in c# 4.0 that explains its usage....

7条回答
Bombasti
2楼-- · 2019-01-06 13:27

It is definitely a bad idea to use dynamic in all cases where it can be used. This is because your programs will lose the benefits of compile-time checking and they will also be much slower.

查看更多
登录 后发表回答