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?
Jenith ThakkarPosted Jul 10, 2020, 7:57 AM
Please accept this ans if it is helpful for you
Laxmidhar SahooPosted Jul 10, 2020, 7:47 AM
Jignesh KumarPosted Jul 10, 2020, 4:21 AM