title: How to assign more than one Collection in a ObservableCollection using Inline C# Statement?
body: <p>I'm having a Collection of a Model</p>
  
  <pre><code>public class MobileModelInfo
  {
      public string Name { get; set; }
      public string Catagory { get; set; }
      public string Year { get; set; }
  }
  </code></pre>
  
  <p>Here I need to assign Morethan ONE collection within a <code>new ObservableCollection&lt;MobileModelInfo&gt;()</code> using single statement without using <code>mobList.Add()</code> as like following statement</p>
  
  <pre><code>ObservableCollection&lt;MobileModelInfo&gt; mobList = new ObservableCollection&lt;MobileModelInfo&gt;(
      (new MobileModelInfo { Name = "S4", Catagory = "Smart Phone", Year = "2011" }),
      (new MobileModelInfo { Name = "S5", Catagory = "Smart Phone", Year = "2013" }),
      (new MobileModelInfo { Name = "S6", Catagory = "Ultra Smart Phone", Year = "2015" })
  );
  </code></pre>
  
  <p>But it generates the Compile time error, kindly assist me to achieve this via Inline Statement.</p>
  
  <blockquote>
    <p>Note: Don't suggest <code>mobList.Add()</code></p>
  </blockquote>