Streams in C#
dev.to·3h·
Discuss: DEV
Flag this post

Before your programs know and understand the content of the information that’s being passed over the network, they need a reliable way to transfer and receive information.

Streams offer just that. But before diving too deep in the network side, we need to take a look at streams in general! They are one of the fundamental structures of interacting with data outside of your program (not just through networks)!

When I started out as a developer, they used to confuse me a lot, but hopefully in this post I can help you leave the confusion behind!

The Base Stream Class

When talking about streams, we’re strictly talking about transferring data; and when your only concern is just moving data, that means that the data is raw bytes. The base Stream class in C# represents that ide…

Similar Posts

Loading similar posts...