mardi 26 septembre 2017

What classes and architecture to be used for following requirement

I have to implement a requirement using C# language. The requirement is as follows.

  1. 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.
  2. Create 10 different csv files with different 1st column names
  3. 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