Skip to content

Instantly share code, notes, and snippets.

@smoothfriction
Created February 9, 2011 22:58
Show Gist options
  • Save smoothfriction/819518 to your computer and use it in GitHub Desktop.
Save smoothfriction/819518 to your computer and use it in GitHub Desktop.
output from System.Object.Equals
public static bool Equals(object objA, object objB)
{
if (objA == objB)
{
return true;
}
if (objA)
{
if (!objB)
{
return false;
}
}
return objA.Equals(objB);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment