Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Node<T>
- {
- private T value;
- public T Value
- {
- get
- {
- return this.value;
- }
- set
- {
- this.value = value;
- }
- }
- public Node(T value)
- {
- this.Value = value;
- }
- public override string ToString()
- {
- return this.value.ToString();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement