private void Adds() { var peoples1 = new Person("Gosho", "http://cdn1.matadornetwork.com/blogs/1/2015/04/lion-photo.jpg"); var peoples2 = new Person("Pesho", "http://cdn1.matadornetwork.com/blogs/1/2015/04/lion-photo.jpg"); var peoples3 = new Person("Traicho", "http://cdn1.matadornetwork.com/blogs/1/2015/04/lion-photo.jpg"); people.Add(peoples1); people.Add(peoples2); people.Add(peoples3); }
public void AddPerson(Person person) { this.people.Add(person); }