Shared.Person.Person C# (CSharp) Method

Person() public method

public Person ( string firstName, string lastName, System.DateTime dateOfBirth, string address, string policyNumber ) : System
firstName string
lastName string
dateOfBirth System.DateTime
address string
policyNumber string
return System
        public Person(string firstName, string lastName, DateTime dateOfBirth,
            string address, string policyNumber)
        {
            PolicyNumber = policyNumber;
            Age = DateTime.Now.Year - dateOfBirth.Year;
            Address = address;
            DateOfBirth = dateOfBirth;
            LastName = lastName;
            FirstName = firstName;
        }
Person