Browse by Tags

All Tags » Stack Overflow » General » C# » Wacky Ideas (RSS)
Sorry, but there are no more tags available to filter with.

Quick rant: why isn't there an Exception(string, params object[]) constructor?

This Stack Overflow question has reminded me of something I often wish existed in common exception constructors - an overload taking a format string and values. For instance, it would be really nice to be able to write: throw new IOException( "Expected...
Posted by skeet | 26 comment(s)