Skip to content

Instantly share code, notes, and snippets.

Last active Jun 25, 2021
What would you like to do?
var name = "April";
var dob = new DateTime(2000, 4, 10);
Console.WriteLine($"Her name is {name} and her birthday is on {dob:MM/dd/yyyy}, which is in {dob:MMMM}.");
// Console Output:
// Her name is April and sher birthday is on 04/10/2000, which is in April.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment