Stream Reuse in C#

前端 未结 3 1225
梦毁少年i
梦毁少年i 2021-01-18 01:11

I\'ve been playing around with what I thought was a simple idea. I want to be able to read in a file from somewhere (website, filesystem, ftp), perform some operations on it

3条回答
  •  长情又很酷
    2021-01-18 01:54

    Unless you're reading in streams bigger than your hard drive, I don't think you'll run out of memory:

    http://blogs.msdn.com/ericlippert/archive/2009/06/08/out-of-memory-does-not-refer-to-physical-memory.aspx

提交回复
热议问题