public Message(string title, string text, User poster, string date, string time) { this.Title = title; this.Text = text; this.Poster = poster; this.Date = date; this.Time = time; this.PosterName = poster.UserName; }