public override string ToString() { return("Tweet by " + Author.Name + " on " + DatePosted.ToShortDateString() + " content: " + Content); }
/// <summary> /// Gets a string representation of this news entry. /// </summary> /// <returns>A string of the date's long date string.</returns> public override string ToString() { return(string.Concat(DatePosted.ToShortDateString(), " ", DatePosted.ToShortTimeString())); }