public static void Main()
        {
            var secondPerson = new Person("Boya", 30, 7802156925);
            Console.WriteLine(secondPerson);

            var firstPerson = new Person("Bobby", 31, 7811266330);
            Console.WriteLine(firstPerson);
        }
Пример #2
0
        // Methods
        public Person CretePerson(int pin)
        {
            var per = new Person();

            return per;
        }