I have a calls with this defination
public class Hospital
{
public List<Patient> patients { get; set; }
public string Name { get; set; }
public Hospital()
{
patients = new List<Patient>();
}
}
How to create patient instance inside hospital instace patients Field by using add mthod in program.cs class