-
-
Save lgolubyev/4e92f541dbf59202accd285a0731b3b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//using string.Format() | |
var date = DateTime.Now; | |
string greetings = string.Format("Today is {0}, the time is {1:HH:mm} now.", date.DayOfWeek, date); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment