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 -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -