咔片PPT · AI自动生成演示文稿,模板丰富、排版精美 讯飞智文 · 一键生成PPT和Word,高效应对学习与办公

MiniExcel替代NOIP的不二选择;官方介绍:

MiniExcel is simple and efficient to avoid OOM's .NET processing Excel tool.

At present, most popular frameworks need to load all the data into the memory to facilitate operation, but it will cause memory consumption problems. MiniExcel tries to use algorithm from a stream to reduce the original 1000 MB occupation to a few MB to avoid OOM(out of memory).

这么多单词就一个意思,LZ性能好,大数据导出时不会出现OOM!

简单使用:

导出:

var values = new List>() { new Dictionary{{ "Column1", "MiniExcel" }, { "Column2", 1 } }, new Dictionary{{ "Column1", "Github" }, { "Column2", 2 } } }; MiniExcel.SaveAs(path, values);

就是这么霸气,一个静态函数搞定;

心动没有,那就心动吧,github地址奉上:

https://github.com/mini-software/MiniExcel