Write Data to an Excel File in C#
Create .xlsx files from C# with ClosedXML, no Excel installation needed, plus formatting, formulas and why Office interop fails on servers.
Create .xlsx files from C# with ClosedXML, no Excel installation needed, plus formatting, formulas and why Office interop fails on servers.
Read .xlsx files in C# with ClosedXML, no Excel installation needed: loop over rows, convert cells safely, and read files open in Excel.
The common sorting algorithms side by side, with time and space complexity, stability, when each one makes sense, and links to C# implementations.
A merge sort implementation in modern C# that sorts any comparable type, keeps equal elements in order and allocates its buffer only once.
A quick sort implementation in modern C# that works on any comparable type, avoids the classic worst case on sorted input, and keeps stack depth under control.