【发布时间】:2019-04-02 06:14:34
【问题描述】:
这个DataSources类属性怎么算?答案应该是“3”
public class DataSources
{
public int Id { get; set; }
public string Name { get; set; }
public string Phone { get; set; }
}
【问题讨论】:
-
typeof(DataSources).GetProperties().Length?
标签: c# asp.net-mvc asp.net-core webforms