title: Single statement query
body: <p>I have this code:</p>
  
  <pre><code>var questionCategory = questionnaire.QuestionCategories
      .First(x =&gt; x.Type == (int)questionCategoryType);
  return questionCategory.Questions.Select(x =&gt; new 
      {
         Id = x.Id,
         Text = x.Text,
      });
  </code></pre>
  
  <p>I'm interested if there is a way of shortening this into one statement, i.e. avoid making variable <em>questionCategory</em> . I'm looking for Extesion method or LINQ solution, or little bit of both :) . </p>