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