Click here to Skip to main content
15,889,877 members
Articles / Programming Languages / C#

Topological Sorting in C#

Rate me:
Please Sign up or sign in to vote.
4.99/5 (51 votes)
6 Jan 2016CPOL12 min read 75.7K   2.2K   53  
How to sort an directed graph using topological sorting in C#
In this article, I begin by showing and explaining a basic implementation of topological sort in C#. Then, I will cover more complex scenarios and improve the solution step-by-step in the process.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Czech Republic Czech Republic
I started programming in Basic in 1989, learned Pascal in 1993, switched to C/C++ in 1997, discovered Java in 2001 and finally settled with C#/.NET in 2003.

Comments and Discussions