I was simply trying to use the DateTime structure to transform an integer between 1 and 12 into an abbrieviated month name.
DateTime
Here is what I tried:
var monthIndex = 1; return month = DateTimeFormatInfo.CurrentInfo.GetAbbreviatedMonthName(monthIndex);
You can try this one as well