如何在c#中打开一个超过1 GB的大文件!文本文件! [英] how open a large file in c#, over 1 GB size! text file!

查看:57
本文介绍了如何在c#中打开一个超过1 GB的大文件!文本文件!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!
我需要知道如何打开超过1GB的文件!
thnx!

hello every one!
i need to know how can open file that over 1GB size!
thnx!

推荐答案

您可以像打开其他任何文件一样打开它.可能您应该一次读取读取块,而不是一次读取整个文件.
You may open it like any other file. Possibly you should take care of reading a chunk at time, instead of the whole file at once.


如果我想在拆分文件中打开文件,我应该怎么读?
if i want to open file in split files what should i do?


这篇关于如何在c#中打开一个超过1 GB的大文件!文本文件!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆