namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_03
{
    public class Program
    {
        public static void Main()
        {
            var patent1 =
                new { Title = "Soczewki dwuogniskowe",
                    YearOfPublication = "1784" };
            var patent2 =
                new { Title = "Fonograf",
                    YearOfPublication = "1877" };

            System.Console.WriteLine(
                $"{patent1.Title} ({patent1.YearOfPublication})");
            System.Console.WriteLine(
                $"{patent2.Title} ({patent2.YearOfPublication})");
        }
    }
}
