C# using streams

Viewed 125208

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 correctly, there are three stream types:

  • stream
  • read stream
  • write stream

Is this correct? And, for example, what is the difference between a Memorystream and a FileStream?

7 Answers
Related