title: Linq Into Clause Missing Field
body: <p>I want to get Citizen's Name_surname also in the output but autocomplete does not bring item.name_surname in the list. Why is that happening? Is that field lost while executing "INTO" clause?  </p>
  
  <p>TLDR: I can not retrieve patients name while making temporary result.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace LINQ_INTO_CLAUSE
  {
  
  public class Citizen
  {
      public int id;
      public string name_surname;
  }
  
  public class Illness
  {
      public int id;
      public string illnessName;
  }
  class Program
  {
      static void Main(string[] args)
      {
          Citizen[] patients = new[]              { new Citizen {id = 123,    name_surname = "John"       },
                                                    new Citizen {id = 2345,   name_surname = "Derek"      },
                                                    new Citizen {id = 345,    name_surname = "Ahmed"      },
                                                    new Citizen {id = 31345,  name_surname = "Mehmed"     }};
  
          Illness[] illnesses = new[]             { new Illness { id = 123,   illnessName = "Flu"         },
                                                    new Illness { id = 7726,  illnessName = "Flu"         },
                                                    new Illness { id = 123,   illnessName = "Headache"    },
                                                    new Illness { id = 2345,  illnessName = "Kolera"      },
                                                    new Illness { id = 31345, illnessName = "Kolera"      }};
  
  
          var _queryResult = from s in patients
                             join k in illnesses on s.id equals k.id
                             into temporaryResult
                             from c in temporaryResult
                             select c;
  
          foreach (var item in _queryResult)
          {
              Console.WriteLine(item.id+"-"+item.illnessName);
          }
      }
  }
  }
  </code></pre>