Skip to content

Instantly share code, notes, and snippets.

@Ang3lFir3
Created April 14, 2011 23:22
Show Gist options
  • Save Ang3lFir3/920819 to your computer and use it in GitHub Desktop.
Save Ang3lFir3/920819 to your computer and use it in GitHub Desktop.
A new way to swallow exceptions
public IDictionary<int, SourcePrice> GetSourcePricingData(DateTime effectiveDate)
{
IDictionary<string, SourcePrice> exceptions = new Dictionary<string, SourcePrice>();
return GetSourcePricingData(effectiveDate, out exceptions);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment