title: How do I generate .BLT files for OpenSTV elections using C#?
body: <p>I just downloaded OpenSTV after seeing the most recent SO blog post, regarding the results of the moderator election. Jeff wrote that he used OpenSTV to conduct the election, and supplied a ballot file (.blt) along with it that contains the voting data. </p>
  
  <p>My question is: how do you create a .BLT file in C#?</p>
  
  <p>Here are two ways that I can think of that the voting page did it:</p>
  
  <ul>
  <li>The voting page added each vote into a SQL database, and then somehow, these votes were exported into a .BLT file after voting had ended. How though? How can I do this?</li>
  <li>Or, the voting page created the file and then added to it each time someone voted. I'm sure that this is NOT how the voting page worked, because it's completely unscalable, but how could I do this in C#?</li>
  </ul>
  
  <p>I'm interested in finding out how both possibilities work and how I can do that in C#. Thanks in advance. Oh, and I hope Jeff sees this question, because he'd probably have a great answer...</p>