Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions  all directly from Slack! Learn more →
Top 10 C# Algorithm Projects

We checked the ML.NET 1.7.1 version. The source code of this project's version is available on GitHub.


Zigi
The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions  all directly from Slack!

C# Algorithms
:books: :chart_with_upwards_trend: Plugandplay classlibrary project of standard Data Structures and Algorithms in C#
Project mention: How can I implement a general tree, NOT a binary tree?  reddit.com/r/csharp  20211219There are a lot of different types of trees and the implementation depends heavily on the problem it solves. GitHub has many C# tree implementations such as this project if you go looking. I wrote a structure similar to a trie where each node contained a Dictionary so I could parse hierarchical paths for a project structure.

The previous post on this blog makes another worthless comparison, this time based on lines of code:
https://withinboredom.info/blog/2022/03/16/myfavoritelangu...
> Like, look at this Merge Sort in C# [1] (130 lines) and then look at it in PHP (31 lines) [2]. You can’t beat that kind of productivity, not to mention in PHP, you can even mix data types (like ints and floats) where in the C# version, it’d be much more difficult.
[1] https://github.com/TheAlgorithms/CSharp/blob/master/Algorit...
[2] https://www.w3resource.com/phpexercises/searchingandsorti...
The C# version is the first Google result for "c# merge sort". But a later result is from w3resource.com, which where the PHP code came from. That C# code is only 55 lines and could easily be shorter by replacing loops with standard library calls:
https://www.w3resource.com/csharpexercises/searchingandso...
Also, both versions of the code from w3resources.com are trash  they use an O(N) step to remove an element from the front of the array (array_slice in PHP and List.Remove in C#), which makes them O(N^2 log N), which is even worse than a naive selection sort or bubble sort.

trienet
.NET Implementations of Trie Data Structures for Substring Search, Autocompletion and Intellisense. Includes: patricia trie, suffix trie and a trie implementation using Ukkonen's algorithm.
Project mention: GitHub  gmamaladze/trienet: .NET Implementations of Trie Data Structures for Substring Search, Autocompletion and Intellisense. Includes: patricia trie, suffix trie and a trie implementation using Ukkonen's algorithm.  reddit.com/r/dotnet  20220918 
I found this library that implements all the typical graph concepts, and especially the search algorithms. It also have ways to visualize your graphs if that's needed. https://github.com/KeRNeLith/QuikGraph

Project mention: I made a library containing all known sorting and searching algorithms and their performance  reddit.com/r/dotnet  20220903
skillmakerdev/AlgorithmsPlayGround.NET: Open source library containing known sorting and searching algorithms. (github.com)

Scout APM
Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

Project mention: My first NuGet publication: CLSS  The C# Language Syntactic Sugar suite  reddit.com/r/csharp  20220801
This project is a collection of packages that aim to enhance the experience of coding in C#. Each of them can be (for now) installed independently of each other. Think languageext or csharpextensions but modular.


IntervalUtility
.Net C # utility for working with intervals, such as time periods. The utility allows you to find intersections of periods, exclude periods, etc.
C# Algorithms related posts
 ML.NET: can Microsoft's machine learning be trusted?
 GitHub  gmamaladze/trienet: .NET Implementations of Trie Data Structures for Substring Search, Autocompletion and Intellisense. Includes: patricia trie, suffix trie and a trie implementation using Ukkonen's algorithm.
 I made a library containing all known sorting and searching algorithms and their performance
 Chains from list  a smarter way?
 Stable Diffusion converted to ONNX (Demo usage, optimized to CPU)
 Generating random Apartemazements
 I looked at a lot of modern architecture and made a generator of modern houses

A note from our sponsor  Zigi
www.zigi.ai  7 Dec 2022
Index
What are some of the best opensource Algorithm projects in C#? This list will help you:
Project  Stars  

1  ML.NET  8,212 
2  ailab  7,167 
3  C# Algorithms  5,197 
4  CSharp  4,783 
5  trienet  378 
6  QuikGraph  275 
7  AlgorithmsPlayGround.NET  92 
8  csharpextensions  33 
9  Huid  13 
10  IntervalUtility  4 