C# C# Streams and Data Processing Streaming Data on the Net Deserialize the News Results

Thomas Kleist
Thomas Kleist
6,881 Points

why is this wrong string.Format("The current date and time is .", {0:dddd, MMMM dd, yyyy hh:mm tt} DateTime.Now)

I need to know why this is the wrong format I have tested it in visual studio and i looks correct

1 Answer

Steven Parker
Steven Parker
182,269 Points

You're really close there.

Except I think you need just one "d" and one "h".

But what the quiz is really looking for is the shorthand notation: "{0:f}".