static ICollection <string> GetRow(this _Worksheet sheet, int rowIdx, int length) { ICollection <string> row = new List <string>(); for (int colIdx = 0; colIdx < length; colIdx++) { row.Add(sheet.GetTextFromCell(colIdx, rowIdx)); } return(row); }
static ICollection <string> GetRow(this _Worksheet sheet, int rowIdx, int length) { ICollection <string> row = new List <string>(); for (int colIdx = 0; colIdx < length; colIdx++) { row.Add(sheet.GetTextFromCell(colIdx, rowIdx)); } return(row); }