阅读背景:

使用反射在类实例中按名称获取属性的值

来源:互联网 

Lets say I have

可以说我有

class Person
{
    public Person(int age, string name)
    {
        Age = age;
        Name = name; 
    }
    public int Age{get;set}
    public string Name{get;set}
}
class Person
{
    p



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: