How to get a property value based on the name October 23, 2022 by Tarik return car.GetType().GetProperty(propertyName).GetValue(car, null);