title: Check Format of a string
body: <p>What is the smallest amount of C# possible to Check that a String fits this format <code>#-#####</code> (1 number, a dash then 5 more numbers).</p>
  
  <p>It seems to me that a regular expression could do this quick (again, I wish I knew regular expressions).</p>
  
  <p>So, here is an example:</p>
  
  <pre><code>public bool VerifyBoxNumber (string boxNumber)
  {
     // psudo code
     if (boxNumber.FormatMatch("#-#####")
        return true;
     return false;
  }
  </code></pre>
  
  <p>If you know real code that will make the above comparison work, please add an answer.</p>