title: How to solve the below error in my LINQ query
body: <p>The SQL query that I wrote to retreive the data I wanted.</p>
  <pre class="lang-sql prettyprint-override"><code>Select JobQuestionType
  From JobQuestionTypes AS J
  INNER JOIN JobQuestions AS JQ ON J.JobQuestionTypeId = JQ.QuestionType
  Where JobId = 3813 AND  Active = 1
  Order By JobQuestionId ASC
  </code></pre>
  <p>For the above SQL query I wrote the LINQ query using c# as below.</p>
  <pre class="lang-cs prettyprint-override"><code>var questionTypes = _context.JobQuestionTypes.Join(_context.JobQuestions,
          jobQuestionTypes =&gt; jobQuestionTypes.JobQuestionTypeId,
          jobQuestions =&gt; jobQuestions.JobQuestionType,
          (jobQuestionTypes, recruiters) =&gt; new { jobQuestionTypes, recruiters })
          .Where(item =&gt; item.JobId.Equals(JobId) &amp;&amp; !item.jobQuestionTypes.Active) 
          .Select(item =&gt; item.jobQuestionTypes.JobQuestionType).OrderBy(x =&gt; x.JobQuestionId).ToList();
  </code></pre>
  <p>I am getting an error</p>
  <blockquote>
  <p>The type arguments for method 'Queryable.Join&lt;TOuter, TInner, TKey,
  TResult&gt;(IQueryable, IEnumerable,
  Expression&lt;Func&lt;TOuter, TKey&gt;&gt;, Expression&lt;Func&lt;TInner, TKey&gt;&gt;,
  Expression&lt;Func&lt;TOuter, TInner, TResult&gt;&gt;)' cannot be inferred from
  the usage. Try specifying the type arguments explicitly.</p>
  </blockquote>
  <p>How can I solve it. I am new to c#.</p>
  <p>(Iam getting the expected output from my sql query. I want to convert it into linq)</p>
  <p>Thankyou.</p>