コード例 #1
0
        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);
        }
コード例 #2
0
 public void AddPerson(Person person)
 {
     this.people.Add(person);
 }