Is it possible to get the full 'path' nested class object
ex:
- public class Member
- {
- public string Name;
- public Address Address;
- }
- public class Address
- {
- public string Line1;
- public string Line2;
- public string Line3;
- }
Imagine I have an instance of this class named m. Is it possible to get the full path as "Member.Address.Line1" (as string), by any methods, just by passing somehow m.Address.Line1?

Jignesh KumarRank #91 · 22.9K reputationPosted Jul 10, 2020, 12:21 AM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 10, 2020, 3:57 AM EDT
Please accept this ans if it is helpful for you
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jul 10, 2020, 3:47 AM EDT