C#基础知识---动态为类型添加属性
摘要:
一、概述 通常情况下,我们是事先在类型中定义好属性的,但有时候,我们需要动态为一个类型添加某些属性,这个时候,我们就需要使用DynamicObject类型了。 二、Demo using System; using System.Collections.Generic; using System.Dy 阅读全文
posted @ 2022-04-22 21:05 itjeff 阅读(1369) 评论(1) 推荐(0)
浙公网安备 33010602011771号