I'm, pretty good with C# but i cant figure out how to switch the first 44 bytes with the last 44 bytes of a file
C# Binary
Collapse
X
-
Hello there, Shad0wX.Originally posted by Shad0wXI'm, pretty good with C# but i cant figure out how to switch the first 44 bytes with the last 44 bytes of a file
Well, to start off I'd like to welcome you to the Bytes Community. I'd also, like to point you to the Posting Guidelines as you have posted a Homework Question it seems.
Now to help out with the problem, I'm gonna ask a few questions first;
1) Are you using the StreamReader and StreamWriter classes to open the file?
2) Is the file binary, (as your title just says C# Binary)?
Now, I'll suggest that you use Functions and Methods in the String Class to perform the actions you have requested, if you need further help, please ask and post a code sample of what you currently have. Thanks, and welcome again :)
joedeene
Comment