C# 4: Real-World Example of Dynamic Types

后端 未结 6 1401
花落未央
花落未央 2020-12-02 08:38

I think I have my brain halfway wrapped around the Dynamic Types concept in C# 4, but can\'t for the life of me figure out a scenario where I\'d actually want to use it.

6条回答
  •  心在旅途
    2020-12-02 09:07

    From Walter Almeida's Blog: a scenario of use of the dynamic keyword in C# to enhance object orientation:

    http://blog.walteralmeida.com/2010/05/using-the-dynamic-keyword-in-c-to-improve-objectorientation.html

提交回复
热议问题