c# - Printing T.Values from Sorted Dictionary -
im trying print values sorted list, dont come want.
the problem here t.value new class created.
public sorteddictionary<string, node> nodemap = new sorteddictionary<string, node>(); (...) foreach (node n in nodemap.values) { console.writeline(n); }
here output:
you should override tostring()
method in node
class expect @ output.
Comments
Post a Comment