Created
November 1, 2009 00:43
-
-
Save matarillo/223336 to your computer and use it in GitHub Desktop.
This file contains 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 class Node | |
{ | |
public string Name { get; private set; } | |
public ICollection<Node> Neighbors { get; private set; } | |
public Node(string name) | |
{ | |
this.Name = name; | |
this.Neighbors = new List<Node>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment