public Article(Person person, string title) { Person = person; Title = title; Rating = Program.Random.Next(10, 100) * 0.214; }
public Article() { Person = new Person("Vlad", "Golubev", new DateTime(1997, 5, 23)); Title = "How to write a LABA. The definitive guide."; Rating = Program.Random.Next(10, 100) * 0.214; }