class Person

    {

        public Person(string firstName, string lastName)

            :this(firstName,lastName,0)

        {

        }

 

        public Person(string firstName, string lastName, int age)

        {

            m_firstName = firstName;

            m_lastName = lastName;

            m_age = age;

        }

 

        private string m_firstName;

        private string m_lastName;

        private int m_age;

    }

相关文章:

  • 2021-09-15
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-01
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
相关资源
相似解决方案