Category Archives: C#

C#. Assert. Defensive programming

SO First of all Assert() method is available for Trace and Debug classes. Debug.Assert() is executing only in Debug mode. Trace.Assert() is executing in Debug and Release mode. Here is an example:

 

Posted in C# | Comments Off on C#. Assert. Defensive programming

C#. Symbol Table with Binary Search

Basic here is 2 arrays keys and vals. Following methods are implemented contains size izEmpty get put delete iterator (IEnumerable) and others… Example illustrates some kind of dictionary with Key and Value, 2 examples – one just shows some standart … Continue reading →

Posted in C# | Comments Off on C#. Symbol Table with Binary Search

C#.Algo. Symbol Table Structrure on Linked list

Jasewick origin Git Basic here is one linked list. Following methods are implemented first contains size izEmpty get put delete iterator (IEnumerable) Example illustrates some kind of dictionary with Key and Value, 2 examples – one just shows some standart … Continue reading →

Posted in C# | Comments Off on C#.Algo. Symbol Table Structrure on Linked list

C#. PriorityQueue

Git

 

Posted in C# | Comments Off on C#. PriorityQueue

C#. PyramidSort

Git

Example of use

 

Posted in C# | Comments Off on C#. PyramidSort

C#. QuickSort – Hoar, Lomuto and Unknown Author

Быстрая сортировка по Сейджвику

  Git Hoar realization (What is Hoar?)

  Lomuto realization

Git SomeNewRealization

 

Posted in C# | Comments Off on C#. QuickSort – Hoar, Lomuto and Unknown Author

C#. Queue on linked list

Git

 

Posted in C# | Comments Off on C#. Queue on linked list

C#.Algo.MergeSort

Git

 

Posted in C# | Comments Off on C#.Algo.MergeSort

C#. SelectionSort | InsertionSort | BubbleSort.shellSort

Git

Сортировка пузырьком

 

Posted in C# | Comments Off on C#. SelectionSort | InsertionSort | BubbleSort.shellSort

C#. BagOnLinkedList

Git

 

Posted in C# | Comments Off on C#. BagOnLinkedList