R – Best way to turn an integer into a month name in c#


Is there a best way to turn an integer into its month name in .net?

Obviously I can spin up a datetime to string it and parse the month name out of there. That just seems like a gigantic waste of time.

Best Solution

Try GetMonthName from DateTimeFormatInfo


You can do it by: