Consider we have model like:
class Person{
public string Name{get; set;}
public List<Contact> ContactInfo{get; set;}
}
and Contact is like:
class Contact{
public string Landline{get; set;}
public string Mobile{get; set;}
}
I want to access ContactInfo(List<Contact>)
and hence fetch values of Landline and Mobile using reflection in C#.