title: Is there a way to populate an ObservableCollection in Xamarin.Forms by reading a csv file?
body: <p>I have a Student class below, and I am using an ObservableCollection in the ViewModel class to display students in a ListView. Is there I can read from a csv/spreadsheet to fill the ObservableCollection with students?</p>
  <pre><code>public class Student
  {
      public string Firstname { get; set; }
      public string Surname { get; set; }
      public string Module { get; set; }
  
      public Project(string Firstname, string Surname, string Module)
      {
          this.Firstname = Firstname;
          this.Surname = Surname;
          this.Module = Module;
  }
  
  public class ProjectListViewModel
  {
      public ObservableCollection&lt;Student&gt; Students { get; set; }
      public ProjectListViewModel()
      {
          Students = new ObservableCollection&lt;Project&gt;();
          Students.Add(new Student(&quot;Ben&quot;, &quot;Ledley&quot;, &quot;Maths&quot;));
          Students.Add(new Student(&quot;John&quot;, &quot;Alex&quot;, &quot;English&quot;));
          Students.Add(new Student(&quot;Sam&quot;, &quot;Craig&quot;, &quot;Biology&quot;));
  }
          
  }
  </code></pre>