I notice that .NET core doesn't allow myObj.GetType().GetProperties()
as no GetProperties
method exists. Is there another way to obtain the properties of a class through reflection?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…