Introduction: A script to search and retrieve a row by inputting the filename, column and search key. The program uses third-party library - CsvHelper.
This project is build on dotnet 7 using Visual Studio 2022.
To run the script, do the following steps:
- Clone the repository
- Open the location in CMD
- Run command: dotnet build
- Run command: dotnet run <csv_file_path.csv> <column_number> <search_key>
An example csv file is provided inside the project called csvFile.csv, to run use command: dotnet run ./csvFile.csv 2 alberto