I have to implement a requirement using C# language. The requirement is as follows.
- Take data from different locations : I will use inbuilt API for fetching the data, hence do not worry about this part. The data is to be fetched for 10 different tables and these data are not related.
- Create 10 different csv files with different 1st column names
- Write data to different csv files.
I have to use C# language to develop code.
I know a basic idea as follows, but i require a better method for solving the requirement.
Method 1 :
abstract CsvParent
{
public void SaveToCsv(String x);
...
}
Aucun commentaire:
Enregistrer un commentaire