Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在更新一些旧代码,并想用 EPPlus 替换一些代码来创建 excel 文档。问题是我的旧代码从 [0, n-1] 和 EPPlus 索引 [1, n] 中的内容。
除了手动将所有单元格地址增加 [1,1] 之外,还有什么方法可以解决这个问题?
因此,在 [0,n-1] 处读取索引然后在调用适当方法之前递增值的接口可能会起作用,但出于个人原因,我不能使用这种方法。
对我有帮助的事情:
然而,除此之外,不幸的是,我没有找到比将 [1,1] 添加到所有内容更简单的方法。