I have this code
Console.WriteLine("Distance to " + v.ToString() + ": " + v.minDistance);
List<Vertex> path = k.getShortestPathTo(v);
Console.WriteLine("Path: " + path.ToString());
v, is a Vertex, a class I have made, and prints fine. But path ends up outputting:
"Path: System.Collections.Generic.List`1[Campus.Vertex]"
Campus being my project name. How do I get this to work? In Java, the equivelant output is: Path: [T13, Three, ETB].