The text of this article is not in this database — only its details are. Read it on the old site: How to create a Binary File in C#
4 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: How to create a Binary File in C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Mariusz PostolPosted Aug 3, 2024, 1:36 PM
You said: "This code example demonstrated how to create a binary file in C#." let me ask what is the difference between binary and not binary files. According to my experience gathered many years ago in WD, all files must have binary content because the disk is a binary machine. I found this article while working on a similar question at: <https://www.c-sharpcorner.com/forums/binary-coding-system>. I hope that the correct answer we can derive from the next one: what condition must be held that a binary file becomes a text file?
Pablo AMPosted Jan 21, 2021, 1:37 PM
Hello, this is not working I got this:ioexp.Message = "The process cannot access the file 'C:\\temp\\MC.bin' because it is being used by another process."