C# Excel工作表区域Range装入数组
object[,] records = worksheet.Range["A1:E"+ endRowIndex].Value2;
worksheet.Range["A1"].Resize[endRowIndex, 5].Value = records;
object[,] records = worksheet.Range["A1:E"+ endRowIndex].Value2;
worksheet.Range["A1"].Resize[endRowIndex, 5].Value = records;