Home » C# BinaryReader

C# BinaryReader

by Online Tutorials Library

C# BinaryReader

C# BinaryReader class is used to read binary information from stream. It is found in System.IO namespace. It also supports reading string in specific encoding.

C# BinaryReader Example

Let’s see the simple example of BinaryReader class which reads data from dat file.

Output:

Double Value : 12.5 String Value : this is string data Boolean Value : true 
Next TopicC# StringWriter

You may also like