C# using streams

后端 未结 7 1666
一整个雨季
一整个雨季 2020-12-07 09:38

Streams are kind of mysterious to me. I don\'t know when to use which stream and how to use them. Can someone explain to me how streams are used?

If I understand cor

7条回答
  •  庸人自扰
    2020-12-07 09:55

    Streams are good for dealing with large amounts of data. When it's impractical to load all the data into memory at the same time, you can open it as a stream and work with small chunks of it.

提交回复
热议问题