title: How to Cast Linq Select Enumerable to preferred type in C#?
body: <p>I'm having an <code>ObservableCollection</code> namely <code>MobileList</code> of type <code>MobileModel</code>. The MobileModel has a List of <code>MobileModelInfo</code>.</p>
  
  <p>I need only <code>MobileModelInfo</code> from that <code>MobileList</code>. So I used Linq Select Statement in the method <code>ExtractFirstMobileList()</code>. But I can't able to assign the List, it shows an error.</p>
  
  <p>My C# Source Code:</p>
  
  <pre><code>public class Mobile
  {
      private ObservableCollection&lt;MobileModel&gt; _mobileList;
      public ObservableCollection&lt;MobileModel&gt; MobileList
      {
          get { return _mobileList; }
          set { _mobileList = value; OnPropertyChanged(); }
      }
  
      public void GetMobile()
      {
          List&lt;MobileModel&gt; mList = new List&lt;MobileModel&gt;();
          List&lt;MobileModelInfo&gt; modList = new List&lt;MobileModelInfo&gt;();
          MobileModel mob = new MobileModel();
  
          modList.Clear();
          mob.Brand = "Apple";
          modList.Add(new MobileModelInfo { Name = "iPhone 4", Catagory = "Smart Phone", Year = "2011" });
          modList.Add(new MobileModelInfo { Name = "iPhone 5", Catagory = "Smart Phone", Year = "2013" });
          modList.Add(new MobileModelInfo { Name = "iPhone 6", Catagory = "Premium Smart Phone", Year = "2015" });
          mob.Model = new ObservableCollection&lt;MobileModelInfo&gt;(modList);
          mob.OS = "IOS";
          mList.Add(mob);
  
          mob = new MobileModel();
          modList.Clear();
          mob.Brand = "Samsung";
          modList.Add(new MobileModelInfo { Name = "S4", Catagory = "Smart Phone", Year = "2011" });
          modList.Add(new MobileModelInfo { Name = "S5", Catagory = "Smart Phone", Year = "2013" });
          modList.Add(new MobileModelInfo { Name = "S6", Catagory = "Ultra Smart Phone", Year = "2015" });
          mob.Model = new ObservableCollection&lt;MobileModelInfo&gt;(modList);
          mob.OS = "Android";
          mList.Add(mob);
  
          mob = new MobileModel();
          modList.Clear();
          mob.Brand = "MicroSoft";
          modList.Add(new MobileModelInfo { Name = "Lumina 9900", Catagory = "Phone", Year = "2011" });
          modList.Add(new MobileModelInfo { Name = "Opera X220", Catagory = "Smart Phone", Year = "2013" });
          mob.Model = new ObservableCollection&lt;MobileModelInfo&gt;(modList);
          mob.OS = "Windows";
          mList.Add(mob);
  
          mob = new MobileModel();
          modList.Clear();
          mob.Brand = "Sony Ericssion";
          modList.Add(new MobileModelInfo { Name = "S4", Catagory = "Smart Phone", Year = "2011" });
          modList.Add(new MobileModelInfo { Name = "S5", Catagory = "Smart Phone", Year = "2013" });
          modList.Add(new MobileModelInfo { Name = "S6", Catagory = "Ultra Smart Phone", Year = "2015" });
          mob.Model = new ObservableCollection&lt;MobileModelInfo&gt;(modList);
          mob.OS = "Android";
          mList.Add(mob);
  
          MobileList = new ObservableCollection&lt;MobileModel&gt;(mList);
  
          ExtractFirstMobileList(MobileList);
  
      }
  
  
      public void ExtractFirstMobileList(ObservableCollection&lt;MobileModel&gt; Source)
      {
          List&lt;MobileModelInfo&gt; mInfo = Source.Select(t=&gt; t.Model);
      }
  
  }
  
  public class MobileModel : Notify
  {
      private string _brand = string.Empty;
      private List&lt;MobileModelInfo&gt; _model = new List&lt;MobileModelInfo&gt;();
      private string _os = string.Empty;
  
      public string Brand
      {
          get { return _brand; }
          set { _brand = value; OnPropertyChanged(); }
      }
      public List&lt;MobileModelInfo&gt; Model
      {
          get { return _model; }
          set { _model = value; OnPropertyChanged(); }
      }
  
      public string OS
      {
          get { return _os; }
          set { _os = value; OnPropertyChanged(); }
      }
  }
  
  public class MobileModelInfo
  {
      public string Name { get; set; }
      public string Catagory { get; set; }
      public string Year { get; set; }
  }
  </code></pre>
  
  <p>Kindly assist me how to cast the Enumerable to preferred type.</p>