mercredi 31 octobre 2018

C# GetProperties() doesnt return all of them

I have these classes

class Foo () {
 public string propA;
 public Bar propB
}

class Bar {
 public string propC;
}

When I am trying Foo.GetType().GetProperties() it only returns propA.

What am I missing here;





Aucun commentaire:

Enregistrer un commentaire