Advertisement
gelatofu

LabExer3-4_MyDLL_Person.cs

Mar 29th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.71 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace MyDLL
  8. {
  9.     public abstract class Person
  10.     {
  11.         private string fullName;
  12.         private string fatherName;
  13.         private string motherName;
  14.         private int birthDate;
  15.  
  16.         public Person() { }
  17.  
  18.         public string FullName { get { return fullName; } set { fullName = value; } }
  19.         public string FatherName { get { return fatherName; } set { fatherName = value; } }
  20.         public string MotherName { get { return motherName; } set { motherName = value; } }
  21.         public int BirthDate { get { return birthDate; } set { birthDate = value; } }
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement