title: How to get recent build TFS programmatically?
body: <p>Ok i am new to TFS. I want to get the recent build pro grammatically using c# code. i have seen other post about this, they did this way</p>
  
  <pre><code>var buildDefinitions = buildServer.QueryBuildDefinitions("Project_name").Where(bd=&gt;bd.DateCreated.Date&gt;=DateTime.Now.AddDays(-7).Date);
  </code></pre>
  
  <p>But I need to get an example of this image click <a href="https://i.stack.imgur.com/Q0NQ9.png" rel="nofollow noreferrer">here</a></p>