title: How do I initialize a fixed byte array?
body: <p>I have the following struct:</p>
  
  <pre><code>[StructLayout(LayoutKind.Sequential, Pack = 1)]
  struct cAuthLogonChallenge
  {
      byte cmd;
      byte error;
      fixed byte name[4];
  
      public cAuthLogonChallenge()
      {
          cmd = 0x04;
          error = 0x00;
          name = ???
      }
  }
  </code></pre>
  
  <p><code>name</code> is supposed to be a null-terminated ASCII string, and Visual Studio is rejecting all my ideas to interact with it. How do I set it?</p>