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

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

c# - MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(3243,9): error MSB4094 -