Skip to content

Instantly share code, notes, and snippets.

@skoon
Forked from jeremydmiller/gist:1320748
Created October 27, 2011 20:48
Show Gist options
  • Save skoon/1320824 to your computer and use it in GitHub Desktop.
Save skoon/1320824 to your computer and use it in GitHub Desktop.
try
{
return IsTrue(val);
}
catch
{
return IsFalse(val);
}
// moar koad
private bool IsTrue(bool val)
{
return val == true;
}
private bool IsFalse(bool val)
{
return val == false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment