Neat uses of Optional Arguments in C#

I have been using .NET 4 for a while now but I have to admit I never thought well of optional arguments. My impressions gravitated between

  1. method overloading for lazy people
  2. hiding hideously designed APIS (Office COM Automation, I am looking at you!)

And so I have not used the feature extensively. But during the last week I have found a couple of usages that I can label as “useful”. Let me tell you about them:

Læs resten