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

string.Format("The current date is : {0}.", DateTime.Now.Date)

WHAT IS WRONG

3 Answers

Balazs Pukli
Balazs Pukli
46,033 Points

Your solution looks fine. Maybe try to reload the page or some like that.

In the other questions though, you'll have to refer to the C# Date-to-String templating syntax: https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings

tried reloading the page several times but my solution still is incorrect...!!!!!

finally figured it out. thank you.......................

string.Format("The current date is {0}.", DateTime.Now.Date)