1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Reflection;
6
7
namespace Demo
8
在Main方法中,我们用反射来显式的调用属性的get 和set 对应的方法成功了!
2
3
4
5
6
7
8