static void Main(string[] args) { LogManager.Configuration = messageConfig; Doctor doctor = new Doctor("Timothy"); Patient patient = new Patient("Frederick"); doctor.ChangeName("Tim"); patient.ChangeName("Fred"); }
static void Main(string[] args) { Doctor doctor = new Doctor(new XmlFileStore()); doctor.ChangeName("Name"); }