Coord point = new Coord(3, 4); Console.WriteLine($"X: {point.X}, Y: {point.Y}");
ListThis code creates a list of three Coord objects, and then iterates over them to output their X and Y values. Package/library: It is difficult to determine the specific package or library that Coord belongs to without additional context. However, it is likely that Coord is either a custom class defined within the project, or part of a custom library developed specifically for the project.points = new List () { new Coord(1, 2), new Coord(3, 4), new Coord(5, 6) }; foreach (Coord point in points) { Console.WriteLine($"X: {point.X}, Y: {point.Y}"); }