我有这样的课:
public class StaticProvider
{
public static int ID_DR;
public static string CorporateName;
public static string Logo;
public static string Address;
public static string Suite;
public static string City;
public static string State;
public static Decimal Zip;
public static string Phone;
public static string Facebook;
public static string Twitter;
public static string Doctor;
public static string Password;
public static string Email;
public static string OfficeWebLink_URL;
public string Provider_Name;
public int Provider_id;
}
我有一个这样的返回类型:List<StaticProvider> Lst= new List<StaticProvider>()
,问题在这里:如何从我的列表中获取静态属性
例如,我想得到StaticProvider.Address