Javatpoint Logo
Javatpoint Logo

C# BinaryWriter

C# BinaryWriter class is used to write binary information into stream. It is found in System.IO namespace. It also supports writing string in specific encoding.

C# BinaryWriter Example

Let's see the simple example of BinaryWriter class which writes data into dat file.

Output:

Data written successfully...
Next TopicC# BinaryReader




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA