title: how to convert a value type to byte[] in C#?
body: <p>I want to do the equivalent of this:</p>
  
  <pre><code>byte[] byteArray;
  enum commands : byte {one, two};
  commands content = one;
  byteArray = (byte*)&amp;content;
  </code></pre>
  
  <p>yes, it's a byte now, but consider I want to change it in the future? how do I make byteArray contain content? (I don't care to copy it).</p>