Q:

Get value from specific row

I am trying to fetch a specific value from the following query:
 var query = from a in db. Questions
        where a.CategoryId == 1
        select a;

Essentially I want to get an integer in the result in the 3rd row of the following query in 'a.questionId' and cast it to an interger.  I imagine its something like:
int qNum = query.single(Row 3).questionId;

A:

You could try:
int qNum = query. Skip(2).First().questionId;

