private static void AppendMonthName(StringBuilder sb, int index)
{
// Take advantage of the fact that all month abbreviations
// have the same length to minimize amount of strings runtime has
// to keep in memory
string months = "Jan" + "Feb" + "Mar" + "Apr" + "May" + "Jun" + "Jul" + "Aug" + "Sep" + "Oct" + "Nov" + "Dec";
index *= 3;
for (int i = 0; i != 3; ++i)
{
sb.Append(months[index + i]);
}
}