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
- method overloading for lazy people
- 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: