Javatpoint Logo
Javatpoint Logo

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





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA