title: Linq converting implicitly to type
body: <p>Hi I have following method with linq statement in it.</p>
  
  <pre><code>public prO Getproject(int id)
  {    
        var tt = (from c in db.pdi
                  where c.id==id
                  select new prO
                  {
                      name = c.p.name,
                      pr_id = c.p.pr_id,
                      re = c.p.re                              
                  });
        return tt;
   }
  </code></pre>
  
  <p>The above method returns one value of tt. However I keep getting intelicense error 
  (local variable) <code>IQueryable&lt;prO&gt;tt</code><br>
  Error: </p>
  
  <pre><code>cannot implicitly convert system.linq.iqueryable to prO
  </code></pre>
  
  <p>Please let me know how to this error. Thanks </p>