title: Get attribute without iteration
body: <p>Is it possible to read custom attribute value without iterating through all list of attributes? I use code below to read attribute value <code>attributeData.IncludeResult</code> but I think should easy more optimal way to do that without using <code>foreach</code> and iteration.</p>
  
  <pre><code>foreach (var customAttributeData in
           propertyInfo.GetCustomAttributes(typeof(WebClientAttribute), false))
  {
      var attributeData = (WebClientAttribute)customAttributeData;
      myData = attributeData.IncludeResult
  }
  </code></pre>