I know it’s obviously failing because I’m missing something here, but I can’t figure out what’s wrong with this line of code:
this.Duration.ToString("{0:%m} minutes {0:%s} seconds")
This is throwing a FormatException.
Hopefully somebody can point me in the right direction!
You need to use single-quotes around everything that is not a format character:
You can either enclose the non-format characters in single-quotes or escape every single one character using the backslash. See here under the heading “Other Characters” for more info.