Example #1
0
 public Post()                 //constructor that auto fills date.
 {
     Comment   = new List <Comment>();
     Published = DateTime.Now;
     Expiry    = Published.AddDays(5);
 }