I'm trying to generate a list in C # but when I try to use the add method it throws the error "It's a field but it's used as a type" I do not understand what it means. Could you help me? this is my code
List<Area> areas = new List<Area>();
Area area1 = new Area("Acuario de Veracruz");
Area area2 = new Area("Playa Mocambo");
areas.add(area1);
Area area3 = new Area("Acuario Inbursa");
Area area4 = new Area("Museo Soumaya");