title: Convert code that uses Linq to code that does not
body: <p>The following code snippet returns an array of <code>PropertyInfo</code> objects that have a defined attribute:</p>
  
  <pre><code>var props = t.GetProperties().Where(
                           prop =&gt; Attribute.IsDefined(prop, typeof(MyAttribute)));
  </code></pre>
  
  <p>.<br>
  .<br>
  How can I do the same thing in <strong>.NET2.0</strong>, and therefore <strong><em>without</em></strong> using Linq?</p>