Created
July 27, 2014 23:44
-
-
Save musicm122/a10db3a3cdccc3431bf5 to your computer and use it in GitHub Desktop.
node4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string GetValues(Node node) | |
{ | |
StringBuilder sb = new StringBuilder(); | |
while (node.Value!=null) | |
{ | |
sb.Append(node.Value); | |
node = node.Right; | |
} | |
return sb.ToString(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment