title: How to display memory on a C# application
body: <p>I'm trying to make an application that reads memory and displays it. The source of the data is coming from a byte[] array and I've tried converting it into text, but did not work. I also tried to use BinaryReader, but it seems to be only for reading files which isn't what I'm trying to do. If there's a way to read memory other than files with Binaryreader that will help too. I found ICSharpCode.TextEditor.dll that may work, but I don't know how to use it. My main goal is to edit the memory with or without it displaying on the application. If anyone can help me I'd appreciate it!</p>
  
  <p><strong>List of questions that's related to this topic</strong></p>
  
  <ol>
  <li>How to I display memory visually on the application? e.g. the picture below.</li>
  <li>What can I use to read memory without streaming a file?</li>
  <li>What .dll or c# function can I use to make a memory reader/editor that displays or not that reads a byte[].</li>
  </ol>
  
  <p><a href="http://i.stack.imgur.com/rHoDp.png" rel="nofollow">This is how I want it to show on application.</a></p>
  
  <p><strong>Here are examples of what I'm trying to do</strong></p>
  
  <pre><code>        byte[] Memory = { }; // Source code
          BinaryReader ReadMemory = new BinaryReader(Memory); // I need it to read byte[] , not a file
          ReadMemory.ReadBytes(10);
  
          //OR
  
          byte[] Memorysource = { }; // Source code
          richTextBox1.Text = Convert.ToString(Memorysource);
  </code></pre>