ICustomlist customList = new MemberList();
}
customList.Add(new Student { Id 4, Name "Student C", Dob new DateOnly(2808, 12, 25) });
customList.Add(new Student [Id=5, Name = "Student D", Dob = new DateOnly(2008, 12, 25) });customList.DisplayList();
private static void OnFullOfMemberNotify()
{
Console.WriteLine("The member list is full");
Below is the expected output when the Main method is run
Microsoft Visual Studi X
Added successfully
Added successfully
Added successfully
Zoom
80%
Close