C-Sharp

All algorithms implemented in C#. (by TheAlgorithms)

C-Sharp Alternatives

Similar projects and alternatives to C-Sharp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better C-Sharp alternative or higher similarity.

C-Sharp discussion

Log in or Post with

C-Sharp reviews and mentions

Posts with mentions or reviews of C-Sharp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-16.
  • Hacktoberfest 2023 Reflections
    1 project | dev.to | 26 Oct 2023
    What I initially viewed as a challenging and sometimes even daunting process transformed into a school of resilience and excellence. The lessons I absorbed from TheAlgorithms were not just theoretical but practical. They found their way into my professional work, where I began to apply the same level of meticulousness and precision. The experience reminded me that in the world of coding, attention to detail and adherence to strict standards can make all the difference between code that merely functions and code that excels.
  • Yes, PHP is faster than C#
    3 projects | news.ycombinator.com | 16 Mar 2022
    The previous post on this blog makes another worthless comparison, this time based on lines of code:

    https://withinboredom.info/blog/2022/03/16/my-favorite-langu...

    > 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/C-Sharp/blob/master/Algorit...

    [2] https://www.w3resource.com/php-exercises/searching-and-sorti...

    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/csharp-exercises/searching-and-so...

    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.

  • My Favorite Language has Changed to PHP
    14 projects | /r/PHP | 16 Mar 2022
    Well, except the better C# comparison would be this one (same place, but sorts an array, not an ISequentialStorage, which the PHP version doesn't even attempt): https://github.com/TheAlgorithms/C-Sharp/blob/master/Algorithms/Sorters/Comparison/MergeSorter.cs
  • My Favorite Language Has Changed to PHP
    2 projects | news.ycombinator.com | 16 Mar 2022
    There's a much more sensible C# merge sort implementation in the same repo as the oddly-over-the-top one linked in the article, which is very very close to the PHP one: https://github.com/TheAlgorithms/C-Sharp/blob/master/Algorit...
  • A note from our sponsor - SaaSHub
    www.saashub.com | 3 Dec 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic C-Sharp repo stats
4
7,170
7.9
6 days ago

TheAlgorithms/C-Sharp is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of C-Sharp is C#.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you konow that C# is
the 9th most popular programming language
based on number of metions?