title: Custom Fields Only From Sharepoint List
body: <p>Is it possible to loop through field collection of a sharepoint list and retrieve only our custom fields and not the sharepoint built-in fields.</p>
  
  <pre><code>using (SPSite site = new SPSite("http://localhost/"))
  {
     using (SPWeb web = site.OpenWeb())
     {
         SPList list = web.Lists["My List"];
         foreach (SPField field in list.Fields)
         {
             //We also get sharepoint built-in column here. And we don't want that, just our
             //custom created fields.
         }
     }
  }
  </code></pre>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks</p>