Hi, I would like to iterate trough my Product object and display values as follow :
if property type is value type (string, int double, ...), I dispay propertyName and Value.
if property type is Collection ( List, Ienumerable, ....), I recursively iterate trough list .
if property type is class, I go into class and display all child propertis of class that are string or int type.
public class Product
{
public int ProductId { get; Go to the complete details ...