DateTime and TimeSpan completion by using the IntelliSense menu
This refactoring applies to:
- C#
What: DateTime and TimeSpan string literal and format string completion through IntelliSense menu.
When: You want to write a DateTime and TimeSpan string literal and format string. IntelliSense gives you basic completion and an explanation as to what each of the characters mean.
Why: Remembering DateTime formats is hard and IntelliSense can help you write it.
How-to
Place your cursor in the DateTime or TimeSpan format string.
Press Ctrl+Space to trigger the IntelliSense menu.
Select the character you would like to add.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for