title: Formatting dashes in string interpolation
body: <p>I have just been checking out the new string interpolation feature in C# 6.0 (refer to the <a href="http://roslyn.codeplex.com/wikipage?title=Language%20feature%20status&amp;referringTitle=Home">Language Features page at Roslyn</a> for further detail). With the current syntax (which is expected to change), you can do something like this (example taken from a blog post I'm writing just now):</p>
  
  <pre><code>var dob2 = "Customer \{customer.IdNo} was born on \{customer.DateOfBirth:yyyyMdd}";
  </code></pre>
  
  <p>However, I can't seem to include dashes in the formatting part, such as:</p>
  
  <pre><code>var dob2 = "Customer \{customer.IdNo} was born on \{customer.DateOfBirth:yyyy-M-dd}";
  </code></pre>
  
  <p>If I do that, I get the error:</p>
  
  <blockquote>
    <p>Error CS1056  Unexpected character '-'    StringInterpolation Program.cs  21</p>
  </blockquote>
  
  <p>Is there any way I can get dashes to work in the formatting part? I know I can just use string.Format(), but I want to see if it can be done with string interpolation, just as an exercise.</p>
  
  <p><strong>Edit</strong>: since it seems like nobody knows what I'm talking about, see <a href="http://gigi.nullneuron.net/gigilabs/c-6-preview-string-interpolation/">my blog post</a> on the subject to see how it's supposed to work.</p>