static void Main(string[] args) { Console.WriteLine("Dynamic Array "); var dynamicArray = new DynamicArray(5); dynamicArray.Add(2); dynamicArray.Add(4); dynamicArray.print(); dynamicArray.delete(4); dynamicArray.print(); Console.WriteLine("LinkedList"); var linkedList = new LinkedList(5); linkedList.Add(2); linkedList.Add(4); linkedList.Delete(2); linkedList.print(); Console.WriteLine("Stack "); var stack = new Stack(5); stack.pushValue(2); stack.pushValue(4); stack.popValue(); stack.printValues(); Console.WriteLine("Queue"); var queue = new Queue(5); queue.Enqueue(2); queue.Enqueue(4); queue.Dequeue(); queue.Print(); //MergeSorted array see below Console.WriteLine("Merge Sorted Array "); int[] a = new int[] { 5, 3, 2, 7, 8, 10 }; Sort.MergeSort(a, 0, a.Length - 1); Sort.PrintArray(a); //QuickSorted array see below Console.WriteLine("Quick Sorted Array "); a = new int[] { 5, 3, 2, 7, 8, 10 }; Sort.QuickSort(a, 0, a.Length - 1); Sort.PrintArray(a); }