Select a File with OpenFileDialog in C# (WinForms)
Let the user pick one or more files with the WinForms OpenFileDialog, filter by type, and read the selected file without freezing the UI.
Let the user pick one or more files with the WinForms OpenFileDialog, filter by type, and read the selected file without freezing the UI.
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.