How do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office? How do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office?