Advertisement
Guest User

Person

a guest
Jun 22nd, 2019
247
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 Person(string name,int age,DateTime birthdate)
  10.         {
  11.             Name = name;
  12.             Age = age;
  13.             Birthdate = birthdate;
  14.         }
  15.         public string Name { get; set; }
  16.         public int Age { get; set; }
  17.         public DateTime Birthdate { get; set; }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement