title: Save structure in binary file and then read from it
body: <p>My program(in WinForms) is some kind of testing of some subject. I have such structure, where I save my questions of this test:</p>
  
  <pre><code>Dictionary&lt;int, Question&gt; questions = new Dictionary&lt;int, Question&gt;();
  
  public class Question
  {
      public Question(string q_text,  Dictionary&lt;string, bool&gt; ans)
      {
          text = q_text;
          answers = ans;
      }
      public string text { get; set; }
      public Dictionary&lt;string, bool&gt; answers { get; set; }       
  }
  </code></pre>
  
  <p>I want to keep my questions(exactly <code>Dictionary&lt;int, Question&gt; questions = new Dictionary&lt;int, Question&gt;();</code>)  in binary file and every time I start the program, it will read from this. I've never worked with binary files.</p>