title: Is it possible to execute a machine code stored in a variable?
body: <p>Is it possible to store a program (either a .NET targeting or pure machine code) in a byte array and later put it directly into memory and execute it (i.e. by creating a new process)? Does the program have to have kernel access or can it run in user mode?</p>
  
  <p>Can this be achieved using C# and/or C++?</p>