wingman007

2015_OOP_Features_AutoPerson

May 27th, 2015
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 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 World1
  8. {
  9.     class AutoPerson
  10.     {
  11.         public string Name { get; set; }
  12.         public int Age { get; set; }
  13.  
  14.         public AutoPerson()
  15.         {
  16.             Name = "Ivancho";
  17.             Age = 19;
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment