using ListSample.Model; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ListSample.ViewModel { internal class StudentList : ObservableCollection { public StudentList() { this.Add(new Student() { Name = "Charles", Age = 28, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Christina", Age = 38, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Joshua", Age = 24, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Jackson", Age = 26, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Paul", Age = 38, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Phinix", Age = 68, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Tom", Age = 58, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Brown", Age = 22, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Thomas", Age = 45, Phone = "010-1234-5678" }); this.Add(new Student() { Name = "Watson", Age = 34, Phone = "010-1234-5678" }); } } }