C# Export Data as XLSX

As I needed to export some data to an xlsx (Excel 2007+) file.I first used the Microsoft OpenXML library called DocumentFormat.OpenXML. At first it looked good but it had some major performance issued while using the object oriented style. I switched over to the OpenXMLWriter (SAX) but this introduced another class of problems like corrupted…