title: How to edit a binary file's hex value using C#
body: <p>So here's my issue. I have a binary file that I want to edit. I can use a hex editor to edit it of course, but I need to make a program to edit this particular file. Say that I know a certain hex I want to edit, I know it's address etc. Let's say that it's a 16-bit binary, and the address is 00000000, it's on row 04 and it has a value of 02. How could I create a program that would change the value of that hex, and only that hex with the click of a button? </p>
  
  <p>I've found resources that talk about similar things, but I can't for the life of me find help with the exact issue. </p>
  
  <p>Any help would be appreciated, and please, don't just tell me the answer if there is one but try and explain a bit. </p>