var me = new Me();
me.NumberOfCodeReviews = 100;
int numberOfCodeReviews = me.NumberOfCodeReviews;
PerfectionistFactor perfectionistFactor;
if (numberOfCodeReviews >= 50)
{
perfectionistFactor = PerfectionistFactor.WHYISTHISENUMINCAPS;
}
else if (numberOfCodeReviews >= 15)
{
perfectionistFactor = PerfectionistFactor.SeriouslyAnotherOne;
}
else if (numberOfCodeReviews >= 10)
{
perfectionistFactor = PerfectionistFactor.OkMaybe;
}
else if (numberOfCodeReviews >= 2)
{
perfectionistFactor = PerfectionistFactor.NotAtAll;
}
else
{
perfectionistFactor = PerfectionistFactor.whocaresifthisenumisinlowercase;
}
It is important that you don't just write code to have the CORRECT SOLUTION in place, but rather to have the CORRECT CODE in place in order to strengthen the CORRECT SOLUTION.