C#遍历类的属性,然后给其赋值

from:https://www.cnblogs.com/yanglang/p/6830982.html