There is a property public int Time { get; set; },
public int Time { get; set; },
public int Time { get; set; },
which is used in the constructor
public Person(string name, int time) { Name = name; Time = time; }
I want to set the value of this property through the console firstPerson.Time = Int32.Parse(Console.ReadLine());
Is it possible to set valid values for Time so that when entering numbers outside the range, a message appears about this?