mardi 10 octobre 2017

How to find the path of particular property in a complex class?

Below is my class structure.

    public class A
    {
      public B b;
    }
    public class B
    {
      public C c;
    }
    public class C
    {
      public string ca;
      public string cb;
    }

I want to find the path of a particular property "ca". So it should return b/c/ca.





Aucun commentaire:

Enregistrer un commentaire