I would share with you something fun. The right way to write interactive documentation — Try .NET. It is an awesome project maintained by Microsoft. It allows you to embed C# code inside your markdown documentation and run it locally. The absolute best way to learn it is to use it. So I encourage you to fork https://github.com/NikiforovAll/intro-to-algorithms and play with it.

All you need to do is to navigate to the root directory and run:

dotnet tool install -g dotnet-trydotnet try

On the demo below you can find an implementation of standard sorting algorithms with C# 8 and Span<T>.

Non-interactive version: https://github.com/NikiforovAll/intro-to-algorithms/blob/master/docs/Sorting.md

Originally published at https://nikiforovall.github.io.

Alexey Nikiforov

Software Engineer at EPAM

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store