Skip to content

Instantly share code, notes, and snippets.

@vgerbase
Last active August 6, 2017 15:02
Show Gist options
  • Save vgerbase/750c41d854db38954da5 to your computer and use it in GitHub Desktop.
Save vgerbase/750c41d854db38954da5 to your computer and use it in GitHub Desktop.
C# code to generate list of months's names
DateTimeFormatInfo dateTimeFormatInfo = new DateTimeFormatInfo();
var months = dateTimeFormatInfo.MonthNames.ToList();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment