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:enter image description here

you should override tostring() method in node class expect @ output.


Comments

Popular posts from this blog

Change the color of an oval at click in Java AWT -

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -