c# get object property value by name code example
Example: c# get object property value by name
return car.GetType().GetProperty(propertyName).GetValue(car, null);
return car.GetType().GetProperty(propertyName).GetValue(car, null);