メソッドを使用してTimeSpan.ParseExact
期間を解析しています。しかし、なぜ以下は失敗して例外をスローするのでしょうか?
string time = "23:10:00";
string format = "HH:mm:ss";
TimeSpan timeSpan = TimeSpan.ParseExact(time, format, CultureInfo.InvariantCulture);
MSDN のCustom Date and Time Format Stringsの記事から判断すると、この入力文字列の形式は正しいです。何か案は?