using System.Collections.Generic;
public int Id { get; set; }
public string Name { get; set; }
public DateTime DebutDate { get; set;}
public bool IsFavorite { get; set; }
public override string ToString()
return $"{Id}: {Name}: {DebutDate.ToString("MM/dd/yyyy")}";
public static void Main()
List<Movie> movies = new List<Movie>();
DebutDate = new DateTime(1988, 07, 22),
DebutDate = new DateTime(1993, 12, 24),
Name = "Lord of the Rings: Return of the King",
DebutDate = new DateTime(2003, 12, 17),
foreach (var movie in movies)
Console.WriteLine(movie.ToString());