diff --git a/C#/Datastructures/DoublyLinkedList.cs b/C#/Datastructures/DoublyLinkedList/DoublyLinkedList.cs similarity index 99% rename from C#/Datastructures/DoublyLinkedList.cs rename to C#/Datastructures/DoublyLinkedList/DoublyLinkedList.cs index bff020d..db9f962 100644 --- a/C#/Datastructures/DoublyLinkedList.cs +++ b/C#/Datastructures/DoublyLinkedList/DoublyLinkedList.cs @@ -1,6 +1,4 @@ -using C_.Datastructures.Nodes; - -namespace C_.Datastructures +namespace C_.Datastructures.DoublyLinkedList { public class DoublyLinkedList { diff --git a/C#/Datastructures/Nodes/DoublyLinkedListNode.cs b/C#/Datastructures/DoublyLinkedList/DoublyLinkedListNode.cs similarity index 85% rename from C#/Datastructures/Nodes/DoublyLinkedListNode.cs rename to C#/Datastructures/DoublyLinkedList/DoublyLinkedListNode.cs index 7154cd4..706edfb 100644 --- a/C#/Datastructures/Nodes/DoublyLinkedListNode.cs +++ b/C#/Datastructures/DoublyLinkedList/DoublyLinkedListNode.cs @@ -1,4 +1,6 @@ -namespace C_.Datastructures.Nodes +using C_.Datastructures.Generic; + +namespace C_.Datastructures.DoublyLinkedList { internal class DoublyLinkedListNode : Node> {//Inherits from Node diff --git a/C#/Datastructures/Nodes/Node.cs b/C#/Datastructures/Generic/Node.cs similarity index 84% rename from C#/Datastructures/Nodes/Node.cs rename to C#/Datastructures/Generic/Node.cs index c9dc6b1..9b9754d 100644 --- a/C#/Datastructures/Nodes/Node.cs +++ b/C#/Datastructures/Generic/Node.cs @@ -1,4 +1,4 @@ -namespace C_.Datastructures.Nodes +namespace C_.Datastructures.Generic { internal class Node {//Generic Node type that every other type inherits from diff --git a/C#/Datastructures/LinkedList.cs b/C#/Datastructures/LinkedList/LinkedList.cs similarity index 98% rename from C#/Datastructures/LinkedList.cs rename to C#/Datastructures/LinkedList/LinkedList.cs index 7f3b4a7..e5a2b7d 100644 --- a/C#/Datastructures/LinkedList.cs +++ b/C#/Datastructures/LinkedList/LinkedList.cs @@ -1,6 +1,4 @@ -using C_.Datastructures.Nodes; - -namespace C_.Datastructures +namespace C_.Datastructures.LinkedList { public class LinkedList { diff --git a/C#/Datastructures/Nodes/LinkedListNode.cs b/C#/Datastructures/LinkedList/LinkedListNode.cs similarity index 81% rename from C#/Datastructures/Nodes/LinkedListNode.cs rename to C#/Datastructures/LinkedList/LinkedListNode.cs index 225ab5b..87d9c6b 100644 --- a/C#/Datastructures/Nodes/LinkedListNode.cs +++ b/C#/Datastructures/LinkedList/LinkedListNode.cs @@ -1,4 +1,6 @@ -namespace C_.Datastructures.Nodes +using C_.Datastructures.Generic; + +namespace C_.Datastructures.LinkedList { internal class LinkedListNode : Node> {//Inherits from Node diff --git a/C#/Datastructures/Queue.cs b/C#/Datastructures/Queue/Queue.cs similarity index 96% rename from C#/Datastructures/Queue.cs rename to C#/Datastructures/Queue/Queue.cs index dad1bd4..3076d86 100644 --- a/C#/Datastructures/Queue.cs +++ b/C#/Datastructures/Queue/Queue.cs @@ -1,6 +1,4 @@ -using C_.Datastructures.Nodes; - -namespace C_.Datastructures +namespace C_.Datastructures.Queue { internal class Queue { diff --git a/C#/Datastructures/Nodes/QueueNode.cs b/C#/Datastructures/Queue/QueueNode.cs similarity index 80% rename from C#/Datastructures/Nodes/QueueNode.cs rename to C#/Datastructures/Queue/QueueNode.cs index 9bf0054..f48f6b0 100644 --- a/C#/Datastructures/Nodes/QueueNode.cs +++ b/C#/Datastructures/Queue/QueueNode.cs @@ -1,4 +1,6 @@ -namespace C_.Datastructures.Nodes +using C_.Datastructures.Generic; + +namespace C_.Datastructures.Queue { internal class QueueNode : Node> { diff --git a/C#/Datastructures/Stack.cs b/C#/Datastructures/Stack/Stack.cs similarity index 95% rename from C#/Datastructures/Stack.cs rename to C#/Datastructures/Stack/Stack.cs index 6c5b56b..3901776 100644 --- a/C#/Datastructures/Stack.cs +++ b/C#/Datastructures/Stack/Stack.cs @@ -1,6 +1,4 @@ -using C_.Datastructures.Nodes; - -namespace C_.Datastructures +namespace C_.Datastructures.Stack { public class Stack { diff --git a/C#/Datastructures/Nodes/StackNode.cs b/C#/Datastructures/Stack/StackNode.cs similarity index 81% rename from C#/Datastructures/Nodes/StackNode.cs rename to C#/Datastructures/Stack/StackNode.cs index 8c5cc68..4484a2d 100644 --- a/C#/Datastructures/Nodes/StackNode.cs +++ b/C#/Datastructures/Stack/StackNode.cs @@ -1,4 +1,6 @@ -namespace C_.Datastructures.Nodes +using C_.Datastructures.Generic; + +namespace C_.Datastructures.Stack { internal class StackNode : Node> {//Inherits from Node