2022
08-12
08-12
C# PropertyInfo类案例详解
对一个对象进行属性分析,并得到相应的属性值,并判断属性的默认值以及空值publicclassPeople{publicstringname{get;set;}publicintage{get;set;}publicDateTimebirthday{get;set;}publicboolisActive{get;set;}publicList<Address>address{get;set;}}publicclassAddress{publicstringcountry{get;set;}publicstringprovi...
继续阅读 >