private DataRow getVersion2Row(IVersionAgnostic csvData, IList <string> csvColumnNames, DataRow dataRow)
 {
     for (int columnCount = 0; columnCount < csvColumnNames.Count; columnCount++)
     {
         dataRow[csvColumnNames[columnCount]] = csvWithDataVersionPropertyValueService.version2(csvData, csvColumnNames[columnCount]);
     }
     return(dataRow);
 }
 private string getCsvRow(TableVersion.Value tableVersion, IVersionAgnostic csvData, IList <string> csvColumnNames)
 {
     if (tableVersion == TableVersion.Value.Version1)
     {
         var csvDataList = new List <string>();
         for (int columnCount = 0; columnCount < csvColumnNames.Count; columnCount++)
         {
             csvDataList.Add(csvWithDataVersionPropertyValueService.version1(csvData, csvColumnNames[columnCount]).ToString());
         }
         return(String.Join(",", csvDataList));
     }
     else
     {
         var csvDataList = new List <string>();
         for (int columnCount = 0; columnCount < csvColumnNames.Count; columnCount++)
         {
             csvDataList.Add(csvWithDataVersionPropertyValueService.version2(csvData, csvColumnNames[columnCount]).ToString());
         }
         return(String.Join(",", csvDataList));
     }
 }