Of course, it depends on the culture, so find it under the CultureInfo class:
string monthName = CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(monthIndex);
You can set month names as values in a ListBox:
MonthDropDown.DataSource = Enumerable.Range(1, 12) .Select(monthIndex => CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(monthIndex)) .ToArray();
You can also use keys / values if you want the selected value to be an index:
MonthDropDown.DataSource = Enumerable.Range(1, 12) .Select(monthIndex=> new ListItem( CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(monthIndex), monthIndex.ToString())) .ToArray();
source share