I'm using this example to get an array of month names:
This is my code:
string months = DateTimeFormatInfo.MonthNames;
However this is producing this error:
"An object reference is required for non-static field, method or property"
I'm sure this is fairly simple to solve but it's eluding me at the moment.