krasizorbov

Person

Jun 23rd, 2019
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4.  
  5. namespace Repository
  6. {
  7.     public class Person
  8.     {
  9.         public string Name { get; set; }
  10.         public int Age { get; set; }
  11.         public DateTime Birthdate { get; set; }
  12.         public Person(string name, int age, DateTime birthdate)
  13.         {
  14.             Name = name;
  15.             Age = age;
  16.             Birthdate = birthdate;
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment