ErrLookup › TheAlgorithms/C-Sharp
TheAlgorithms/C-Sharp
All algorithms implemented in C#. · C# · 573 source files
Analyzed at 96e2905cab on 2026-09-13. 182 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Matrix must be symmetric! | exception | error | csharp, graph, mst, adjacency-matrix, input-validation |
| Graph must be undirected! | exception | error | csharp, graph, mst, adjacency-list, input-validation |
| Cash flows list cannot be empty | exception | error | csharp, finance, argument-validation |
| Comparison method violates its general contract! | exception | error | sorting, comparator, timsort, contract-violation |
| Graph contains a negative weight cycle. | exception | error | csharp, graph, bellman-ford, negative-cycle |
| Minimum degree must be at least 2. | validation | error | argumentexception, b-tree, constructor, minimum-degree |
| Stack is empty | exception | error | stack, empty-collection, invalid-state |
| Adjacency matrix must be symmetric! | exception | error | csharp, graph, mst, adjacency-matrix, input-validation |
| Board size must be positive. | exception | error | argument-out-of-range, knight-tour, validation |
| ArgumentNullException: features | exception | error | csharp, null-argument, machine-learning, training-data |
| Input lists must have the same length. | exception | error | csharp, length-mismatch, machine-learning, linear-regression |
| Key " " is not in the B-Tree. | exception | error | keynotfound, b-tree, remove, empty-tree |
| The lower bound must be less than or equal to the upper… | exception | error | argument-validation, range, csharp, algorithms |
| Key " " is not in the AVL tree. | exception | error | keynotfound, avl-tree, remove, data-structures |
| Error value is not on interval (0.0; 1.0). | exception | error | argument-validation, numeric, math |
| should be between 0 and 1 | exception | error | |
| Graph must be connected! | exception | error | csharp, graph, mst, connectivity, input-validation |
| Number of colors must be positive. | exception | error | argument-out-of-range, graph-coloring, validation |
| B-Tree is empty. | exception | error | invalidoperationexception, b-tree, getmin, empty-tree |
| Heap is empty! | exception | error | data-structures, fibonacci-heap, invalid-operation |
| Unknown operator | exception | warning | operator, invariant, postfix |
| Pad block corrupted | exception | error | csharp, cryptography, padding, decryption, tampering |
| Vertex indices must be within valid range. | exception | error | csharp, graph, argument-out-of-range |
| ArgumentNullException: vertices | exception | error | null-argument, csharp, graph-algorithms |
| At least three points and corresponding distances are… | exception | error | |
| message | exception | error | csharp, cryptography, validation, buffer-size, data-length |
| Adjacency matrix must be square! | exception | error | csharp, graph, mst, adjacency-matrix, input-validation |
| Invalid padding length | exception | error | csharp, cryptography, padding, decryption, integrity |
| Padding block is corrupted | exception | error | csharp, crypto, padding, tampering |
| At least two cities are required. | exception | error | argument-validation, csharp, tsp |
| Not enough space in input array for padding | exception | error | csharp, cryptography, padding, argument-out-of-range, buffer-overflow-guard |
| Tree is empty! | exception | error | empty-collection, invalid-state, aatree, csharp, data-structures |
| Cannot prune empty list | exception | error | empty-collection, invalid-operation, csharp |
| Detected the same node twice. Confusion how this could ever… | exception | error | pathfinding, csharp, invariant, graph |
| Matrix must be square! | exception | error | argument-exception, matrix, minimum-spanning-tree, csharp |
| Graph capacity should always be a non-negative integer. | exception | error | csharp, data-structures, graph, argument-validation |
| The length of key should be divisible by 16 | exception | error | csharp, cryptography, block-size, input-validation |
| cannot be negative | exception | error | argument-validation, negative-number, csharp |
| New value is not than old value. | exception | error | data-structures, heap, argument-exception, decrease-key |
| No unvisited cities remain. | exception | warning | invariant, csharp, tsp, nan |
| An automorphic number must always be positive. | exception | error | argument-validation, math, csharp, algorithms |
| Invalid character ' ' found in the expression. | exception | error | validation, stack, argument |
| Scapegoat node wasn't found. The tree should be unbalanced. | exception | error | internal-state, trees, invariant-violation |
| Input cannot be null | validation | error | null-argument, argumentnull, jaccard, csharp, similarity |
| Key " " already exists in B-Tree. | exception | error | csharp, btree, duplicate-key |
| Max count is | exception | error | argument-out-of-range, linked-list, csharp |
| Key " " already exists in AVL tree. | exception | error | data-structures, avl-tree, duplicate-key |
| Coins array must contain coin 1 | exception | error | invalid-argument-value, coin-change, precondition |
| should be greater than zero | exception | error | argument-out-of-range, fractal, bitmap, csharp |
| Deque is empty. | exception | error | csharp, data-structures, deque, empty-collection |
| The pattern is longer than 31 characters. | validation | error | value-out-of-range, bitap, pattern-matching, csharp, limitation |
| Value is too big to fit into Int32 | exception | error | csharp, data-structures, bitarray, invalid-operation-exception |
| Input string cannot be null. | validation | error | null-argument, argument-validation, csharp, palindrome |
| Invalid block size | exception | error | csharp, cryptography, argument-out-of-range, padding |
| Postfix cannot be null or empty. | validation | error | argument-validation, null-or-empty, csharp, string-input |
| is not a positive integer | exception | error | modular-arithmetic, argument-validation, csharp |
| The step cannot be greater than the size of the group | exception | error | argument-validation, algorithm, csharp |
| Capacity must be greater than 0 | exception | error | csharp, hashtable, constructor, argument-out-of-range |
| should be more than 3 | exception | error | primality-test, argument-validation, csharp |
| must be an index in the list | exception | error | index-out-of-range, linked-list, csharp |
| Source matrix is not square shaped. | exception | error | matrix, linear-algebra, argument-validation, csharp |
| The width of a first operand should match the height of a… | exception | error | c-sharp, matrix, linear-algebra, dimension-mismatch |
| Provided number is too big | validation | error | csharp, bitarray, overflow |
| Load factor must be greater than 0 | exception | error | argument-out-of-range, constructor, hash-table, validation |
| Only for num >= 0 | exception | error | matrix, linear-algebra, argument-validation, csharp |
| Invalid padding | exception | error | csharp, cryptography, data-corruption, padding |
| Invalid parameter settings for Ascon Hash | exception | error | csharp, crypto, argument-validation |
| Strings must be equal length. | validation | error | invalid-argument-value, hamming-distance, csharp, string-comparison |
| Value is too big to fit into Int64 | exception | error | csharp, data-structures, bitarray, invalid-operation-exception |
| The step cannot be smaller than 1 | exception | error | argument-validation, algorithm, csharp |
| Matrix of equation coefficients is not square shaped. | exception | error | matrix, linear-algebra, argument-validation, csharp |
| The heap is empty | exception | error | data-structures, fibonacci-heap, invalid-operation |
| Key " " already exists in tree! | exception | error | csharp, bst, duplicate-key |
| The value's key is smaller than or equal to node's right… | exception | error | binary-search-tree, invariant-violation, argument-validation |
| Load factor must be less than or equal to 1 | exception | error | argument-out-of-range, constructor, hash-table, validation |
| sequence must be not longer than the bit array length | validation | error | csharp, bitarray, length-mismatch |
| number must be positive | validation | error | csharp, bitarray, invalid-argument |
| The input expression cannot be null or empty. | exception | error | argument-validation, empty-input, validation |
| key is not in the tree | exception | error | key-not-found, invalid-state, aatree, csharp, data-structures |
| Sequence must been greater than or equal to 1 | validation | error | csharp, bitarray, empty-input |
| Double factorial is only defined for non-negative integers… | exception | error | argument-out-of-range, numerical-methods, ode, csharp |
| should be greater than | validation | error | argument-out-of-range, ode-solver, csharp |
| No padding found | exception | error | csharp, cryptography, padding, scheme-mismatch |
| Input length must be a multiple of block size | exception | error | csharp, cryptography, block-size, padding |
| The GCD of n_ = and n_ = equals and thus these values… | exception | error | math, modular-arithmetic, invalid-argument-value, csharp |
| The sequence may only contain ones or zeros | exception | error | csharp, data-structures, bitarray, argument-exception, input-validation |
| key must be non-empty string | exception | error | csharp, cryptography, empty-input, validation |
| Vertex does not belong to graph | exception | error | csharp, graph, object-identity, invalid-state |
| k must be at least 1. | exception | error | csharp, argument-out-of-range, machine-learning, constructor, validation |
| Pattern cannot start with * | validation | error | invalid-argument-value, wildcard, pattern-matching, csharp |
| Value cannot be increased | exception | error | data-structures, fibonacci-heap, invalid-operation |
| Knight Tour cannot be performed on a board of size | exception | error | unsolvable-instance, knight-tour, backtracking |
| The parameter's value is invalid. | exception | error | argument-validation, data-structures, trees |
| The length of the start vector doesn't equal the size of… | exception | error | csharp, linear-algebra, eigenvalue, vector |
| ArgumentNullException: getNeighbors | exception | error | null-argument, csharp, graph-algorithms |
| Discount rate cannot be negative | exception | error | csharp, finance, input-validation, argument-check |
| Graph contains a cycle involving vertex | exception | error | csharp, graph, topological-sort, cycle |
| The path collection should not be empty. | exception | error | empty-collection, argument-validation, trees |
| The parameters 'listOfAs' and 'listOfNs' must not be null… | exception | error | math, modular-arithmetic, null-argument, csharp |
| Both points should have the same dimensionality | exception | error | csharp, linear-algebra, distance, dimensionality |