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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -