title: Simplify Switch Statement in following code
body: <p>How can i make this code to be much smaller in size and more efficient :) ..?.
  I have made it so far, from a bigger old code, but i think it's still huge.</p>
  
  <pre><code>if (affix == Mod.Affix)
  {
      Graphics.DrawText(text, textSize, position, Color.White);
  
      switch (levels)
      {
          case 1:
          {
              Size level = Graphics.DrawText(text, textSize, position, Color.Yellow);
              if (level != new Size()) 
              { 
                  position.Y += level.Height; 
              }
          } break;
  
          case 2:
          {
              Size level = Graphics.DrawText(text, textSize, position, Color.Red);
              if (level != new Size()) 
              {
                  position.Y += level.Height; 
              }
          } break;
  
          case 3:
          {
              Size level = Graphics.DrawText(text, textSize, position, Color.Green);
              if (level != new Size()) 
              { 
                  position.Y += level.Height; 
              }
          } break;
  
          default:
              Size nextLevel = Graphics.DrawText(text, textSize, position, Color.Black);
  
              if (nextLevel != new Size()) 
              { 
                  position.Y += nextLevel.Height;
              } 
          break;
      }
  }
  </code></pre>
  
  <p>Thank you in advance!</p>