private static object GetPropertyValueByName(WebSite website, string propertyName) => website .GetType() .GetProperty(propertyName) .GetValue(website, null);