Here are some code samples for using the OpenExcelSdk library to read and write Excel files in C#. These examples demonstrate how to create a new Excel file, add data to it, and read data from an existing Excel file.
Source code repository: https://github.com/Pierlam/OpenExcelSdk
Nuget: https://www.nuget.org/packages/OpenExcelSdk
Go inside the folder OpenExcelSdkSamplesApp. The subfolder ExcelFiles contains excel files samples used in source code.
// Get Cell Value:
class GetCellValue
// scan datarow cells: 3 ways to do it
class ScanDataRowCells
Command line application to export excel file content to a output Excel, based on OpenExcelSdk library.