using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Listenelemente
{
    class Person
    {
        string firstname;
        string secondname;
        int age;

        public Person(string firstname, string secondname, int age)
        {
            this.firstname = firstname;
            this.secondname = secondname;
            this.age = age;
        }

        public string Secondname
        {
            get { return secondname; }
        }

        public int Age
        {
            get { return age; }
        }

    }
}
