Adding unknown (at design time) properties to an ExpandoObject

前端 未结 5 1704
天涯浪人
天涯浪人 2020-11-27 03:35

just exploring c# 4. Trying to get my head around all this dynamic stuff. Sorry if this question is silly, no experience in this domain.

If I have an ExpandoObject a

5条回答
  •  無奈伤痛
    2020-11-27 04:03

    The answers so far cover the basics quite well, but I felt this MSDN Magazine article was worth sharing as well:

    http://msdn.microsoft.com/en-us/magazine/ff796227.aspx

    It covers some examples of using dynamic XML input to dynamically create and use ExpandoObjects.

提交回复
热议问题