csusing System;
using System.Collections.Generic;
namespace AttendanceSystem
{
public class Employee
{
public string Name { get; set; }
public string Id { get; set; }
public List<DateTime> Attendance { get; set; } = new List<DateTime>();
}
public class AttendanceSystem
{
private Dictionary<string, Employee> _employees = new Dictionary<string, Employee>();
private Dictionary<string, List<DateTime>> _attendanceRecords = new Dictionary<string, List<DateTime>>();
public AttendanceSystem()
{
_employees["Employee1"] = new Employee { Name = "Employee1", Id = "E1" };
_employees["Employee2"] = new Employee { Name = "Employee2", Id = &