Bytes in C#? - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: Bytes in C#? (/showthread.php?tid=16141) |
Bytes in C#? - InfamousKnight - 02-12-2011 I got a question about C#. How would you read/write bytes to a file? Could you give me example code? RE: Bytes in C#? - KoBE - 02-17-2011 Code: byte[] fileData = File.ReadAllBytes("filepath"); RE: Bytes in C#? - InfamousKnight - 02-17-2011 Thank you. |